Skip to content

Commit

Permalink
v2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
amirhoseindavat committed Jun 29, 2023
1 parent e31680f commit 35d09aa
Show file tree
Hide file tree
Showing 15 changed files with 90 additions and 9 deletions.
Binary file modified .vs/SteamPulse/v17/.suo
Binary file not shown.
6 changes: 5 additions & 1 deletion SteamPulse/Main.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 44 additions & 0 deletions SteamPulse/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,22 @@ public void LoadRegion()
{
DropDownRegion.SelectedIndex = 4;
}
else if (Settings.Currency.Name == "hryvnia")
{
DropDownRegion.SelectedIndex = 8;
}
else if (Settings.Currency.Name == "Rupee")
{
DropDownRegion.SelectedIndex = 9;
}
else if (Settings.Currency.Name == "Tenge")
{
DropDownRegion.SelectedIndex = 10;
}
else if (Settings.Currency.Name == "Peso")
{
DropDownRegion.SelectedIndex = 11;
}
else { }

}
Expand Down Expand Up @@ -1390,6 +1406,34 @@ private void DropDownRegion_SelectedIndexChanged(object sender, EventArgs e)
Settings.Currency.ISO = "BR";
Settings.Currency.Unit = "R$";
}
if (DropDownRegion.Text.Contains("Ukraine"))
{
Settings.Currency.Name = "hryvnia";
Settings.Currency.Number = 18;
Settings.Currency.ISO = "UA";
Settings.Currency.Unit = "";
}
if (DropDownRegion.Text.Contains("India"))
{
Settings.Currency.Name = "Rupee";
Settings.Currency.Number = 24;
Settings.Currency.ISO = "IN";
Settings.Currency.Unit = "";
}
if (DropDownRegion.Text.Contains("Kazakhstan"))
{
Settings.Currency.Name = "Real";
Settings.Currency.Number = 37;
Settings.Currency.ISO = "KZ";
Settings.Currency.Unit = "";
}
if (DropDownRegion.Text.Contains("Philippines"))
{
Settings.Currency.Name = "Peso";
Settings.Currency.Number = 12;
Settings.Currency.ISO = "PH";
Settings.Currency.Unit = "";
}
Log.LogSetting("Region", Properties.Settings.Default.CurrencyISO.ToString());
PanelStatus.Visible = true;
ButtonLoad.PerformClick();
Expand Down
6 changes: 5 additions & 1 deletion SteamPulse/Setting.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions SteamPulse/Setting.cs
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,35 @@ private void DropDownRegion_SelectedIndexChanged(object sender, EventArgs e)
Settings.Currency.ISO = "BR";
Settings.Currency.Unit = "R$";
}
if (DropDownRegion.Text.Contains("Ukraine"))
{
Settings.Currency.Name = "hryvnia";
Settings.Currency.Number = 18;
Settings.Currency.ISO = "UA";
Settings.Currency.Unit = "";
}
if (DropDownRegion.Text.Contains("India"))
{
Settings.Currency.Name = "Rupee";
Settings.Currency.Number = 24;
Settings.Currency.ISO = "IN";
Settings.Currency.Unit = "";
}
if (DropDownRegion.Text.Contains("Kazakhstan"))
{
Settings.Currency.Name = "Tenge";
Settings.Currency.Number = 37;
Settings.Currency.ISO = "KZ";
Settings.Currency.Unit = "";
}
if (DropDownRegion.Text.Contains("Philippines"))
{
Settings.Currency.Name = "Peso";
Settings.Currency.Number = 12;
Settings.Currency.ISO = "PH";
Settings.Currency.Unit = "";
}

Main.SettingisUpdated = true;
Log.LogSetting("Region", Properties.Settings.Default.CurrencyISO.ToString());
}
Expand Down
2 changes: 1 addition & 1 deletion SteamPulse/bin/Release/SteamPulse.application
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>sNbiBfCeE9ZyBPGTw0qXQhcjVhA552YwV6y1zd3Qu8Q=</dsig:DigestValue>
<dsig:DigestValue>sbQy2KbM1TyGZcHQx3MpaCZOKc4j48DD6XkMLk/LUiM=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down
Binary file modified SteamPulse/bin/Release/SteamPulse.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions SteamPulse/bin/Release/SteamPulse.exe.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -487,14 +487,14 @@
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="SteamPulse.exe" size="3862528">
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="SteamPulse.exe" size="3863552">
<assemblyIdentity name="SteamPulse" version="2.0.2.0" publicKeyToken="A60012DF2E7D9CE0" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>+pLdot3g8vLPA6FgPSTLPZCslPnR+llGM5TxtCmQAbQ=</dsig:DigestValue>
<dsig:DigestValue>0qWRN/zICKP5pQffjlO0o83uIYW7OqDRt+R++faGQes=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down
Binary file modified SteamPulse/bin/Release/app.publish/SteamPulse.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion SteamPulse/obj/Release/SteamPulse.application
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>sNbiBfCeE9ZyBPGTw0qXQhcjVhA552YwV6y1zd3Qu8Q=</dsig:DigestValue>
<dsig:DigestValue>sbQy2KbM1TyGZcHQx3MpaCZOKc4j48DD6XkMLk/LUiM=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down
Binary file modified SteamPulse/obj/Release/SteamPulse.csproj.AssemblyReference.cache
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ C:\Users\Amirhosein\Documents\GitHub\SteamPulse\SteamPulse\bin\Release\System.Me
C:\Users\Amirhosein\Documents\GitHub\SteamPulse\SteamPulse\bin\Release\System.Numerics.Vectors.xml
C:\Users\Amirhosein\Documents\GitHub\SteamPulse\SteamPulse\bin\Release\System.Runtime.CompilerServices.Unsafe.xml
C:\Users\Amirhosein\Documents\GitHub\SteamPulse\SteamPulse\bin\Release\System.Threading.Tasks.Extensions.xml
C:\Users\Amirhosein\Documents\GitHub\SteamPulse\SteamPulse\obj\Release\SteamPulse.csproj.AssemblyReference.cache
C:\Users\Amirhosein\Documents\GitHub\SteamPulse\SteamPulse\obj\Release\SteamPulse.csproj.SuggestedBindingRedirects.cache
C:\Users\Amirhosein\Documents\GitHub\SteamPulse\SteamPulse\obj\Release\SteamPulse.exe.config
C:\Users\Amirhosein\Documents\GitHub\SteamPulse\SteamPulse\obj\Release\SteamPulse.About.resources
Expand Down Expand Up @@ -217,3 +216,4 @@ C:\Users\Amirhosein\Documents\GitHub\SteamPulse\SteamPulse\obj\Release\SteamPuls
C:\Users\Amirhosein\Documents\GitHub\SteamPulse\SteamPulse\obj\Release\SteamPulse.application
C:\Users\Amirhosein\Documents\GitHub\SteamPulse\SteamPulse\obj\Release\SteamPulse.csproj.CopyComplete
C:\Users\Amirhosein\Documents\GitHub\SteamPulse\SteamPulse\obj\Release\SteamPulse.exe
C:\Users\Amirhosein\Documents\GitHub\SteamPulse\SteamPulse\obj\Release\SteamPulse.csproj.AssemblyReference.cache
Binary file modified SteamPulse/obj/Release/SteamPulse.csproj.GenerateResource.cache
Binary file not shown.
Binary file modified SteamPulse/obj/Release/SteamPulse.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions SteamPulse/obj/Release/SteamPulse.exe.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -487,14 +487,14 @@
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="SteamPulse.exe" size="3862528">
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="SteamPulse.exe" size="3863552">
<assemblyIdentity name="SteamPulse" version="2.0.2.0" publicKeyToken="A60012DF2E7D9CE0" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>+pLdot3g8vLPA6FgPSTLPZCslPnR+llGM5TxtCmQAbQ=</dsig:DigestValue>
<dsig:DigestValue>0qWRN/zICKP5pQffjlO0o83uIYW7OqDRt+R++faGQes=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down

0 comments on commit 35d09aa

Please sign in to comment.