Compare commits

..

1 Commits

@ -12,6 +12,21 @@
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
@ -32,6 +47,18 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<SignManifests>false</SignManifests>
</PropertyGroup>
<PropertyGroup>
<ManifestCertificateThumbprint>D19BDBC21544C44B269FADA562582A08614989EA</ManifestCertificateThumbprint>
</PropertyGroup>
<PropertyGroup>
<ManifestKeyFile>Elite Power Management Simulator_TemporaryKey.pfx</ManifestKeyFile>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>skyfall_logo_roulette_white001_64only.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
@ -67,6 +94,7 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="Elite Power Management Simulator_TemporaryKey.pfx" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
@ -80,5 +108,23 @@
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Content Include="SKYFALL_002.ico" />
<Content Include="skyfall_logo_roulette_white001.ico" />
<Content Include="skyfall_logo_roulette_white001_256only.ico" />
<Content Include="skyfall_logo_roulette_white001_64only.ico" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.7.2">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.7.2 %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

@ -182,7 +182,7 @@
this.lbl_version.Name = "lbl_version";
this.lbl_version.Size = new System.Drawing.Size(46, 13);
this.lbl_version.TabIndex = 11;
this.lbl_version.Text = "v1.0.2.3";
this.lbl_version.Text = "v1.0.3.0";
//
// gbox_pipmgmt
//

@ -43,11 +43,60 @@ namespace Elite_Power_Management_Simulator
{
pwr_reset();
}
/*public static void fastProg(this ProgressBar bar, int value)
{
if (value < bar.Maximum)
{
bar.Value = value + 1;
}
bar.Value = value;
}*/
public void update()
{
/*
// Old style, slow due to progress bar animations
prog_eng.Value = global.eng;
prog_sys.Value = global.sys;
prog_wep.Value = global.wep;
*/
/*
fastProg(prog_eng, global.eng);
fastProg(prog_sys, global.sys);
fastProg(prog_wep, global.wep);
*/
// // Fast processing of Windows progress bars // //
//SYS
if (global.sys < prog_sys.Maximum) {
prog_sys.Value = global.sys + 1;
prog_sys.Value = global.sys;
} else {
prog_sys.Maximum = 10;
prog_sys.Value = prog_sys.Maximum;
prog_sys.Value = global.sys;
prog_sys.Maximum = 8;
}
//ENG
if (global.eng < prog_eng.Maximum) {
prog_eng.Value = global.eng + 1;
prog_eng.Value = global.eng;
} else {
prog_eng.Maximum = 10;
prog_eng.Value = prog_eng.Maximum;
prog_eng.Value = global.eng;
prog_eng.Maximum = 8;
}
//WEP
if (global.wep < prog_wep.Maximum) {
prog_wep.Value = global.wep + 1;
prog_wep.Value = global.wep;
} else {
prog_wep.Maximum = 10;
prog_wep.Value = prog_wep.Maximum;
prog_wep.Value = global.wep;
prog_wep.Maximum = 8;
}
//Update Labels to show pip count
string eng = Convert.ToString(Convert.ToDecimal(global.eng) / 2);

@ -1,4 +1,5 @@
using System.Reflection;
using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@ -32,5 +33,6 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.2.3")]
[assembly: AssemblyFileVersion("1.0.2.3")]
[assembly: AssemblyVersion("1.0.3.0")]
[assembly: AssemblyFileVersion("1.0.3.0")]
[assembly: NeutralResourcesLanguage("en")]

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Loading…
Cancel
Save