Skip to content

Commit

Permalink
- Make sure forms have the same icon
Browse files Browse the repository at this point in the history
- Set `app.manifest` to deal with high dpi
  • Loading branch information
Smurf-IV committed Dec 29, 2021
1 parent 8780758 commit da43179
Show file tree
Hide file tree
Showing 17 changed files with 61 additions and 838 deletions.
10 changes: 10 additions & 0 deletions Elucidate/Elucidate.sln
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,14 @@ Global
BuildVersion_StartDate = 2000/1/1
SolutionGuid = {39E6A612-AC12-4D63-BE2A-60EA16940A8A}
EndGlobalSection
GlobalSection(AutomaticVersions) = postSolution
UpdateAssemblyVersion = True
UpdateAssemblyFileVersion = True
UpdateAssemblyInfoVersion = False
AssemblyVersionSettings = YearStamp.MonthStamp.DayStamp.Increment
AssemblyFileVersionSettings = ShortYearStamp.MonthStamp.DayStamp.Increment
UpdatePackageVersion = False
AssemblyInfoVersionType = SettingsVersion
InheritWinAppVersionFrom = None
EndGlobalSection
EndGlobal
16 changes: 1 addition & 15 deletions Elucidate/Elucidate/Controls/RunControl.Designer.cs

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

3 changes: 1 addition & 2 deletions Elucidate/Elucidate/Elucidate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<PlatformTarget>AnyCPU</PlatformTarget>
<ApplicationIcon>Elucidate.ico</ApplicationIcon>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<NeutralLanguage>en</NeutralLanguage>
<NeutralLanguage>en-GB</NeutralLanguage>
<WarningLevel>5</WarningLevel>
<LangVersion>preview</LangVersion>
<AnalysLevel>preview</AnalysLevel>
Expand All @@ -24,7 +24,6 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Elucidate.ico" />
<None Include="Resources\cam_48.png" />
<None Include="Resources\camera_48.png" />
<None Include="Resources\database_add_48.png" />
<None Include="Resources\database_warning_48.png" />
Expand Down
2 changes: 2 additions & 0 deletions Elucidate/Elucidate/Forms/CalculateBlockSize.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ public partial class CalculateBlockSize : KryptonForm
public CalculateBlockSize()
{
ParityTargets = new List<string>(2);
Icon = Properties.Resources.ElucidateIco;

InitializeComponent();
var available = new ComputerInfo().TotalPhysicalMemory;
const decimal testValue = 1UL << 30; // Should be 1 GBytes
Expand Down
14 changes: 0 additions & 14 deletions Elucidate/Elucidate/Forms/ElucidateForm.Designer.cs

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

4 changes: 4 additions & 0 deletions Elucidate/Elucidate/Forms/ElucidateForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ public sealed partial class ElucidateForm : KryptonForm

public ElucidateForm()
{
// For some reason the designer keeps removing the following !!
tpCoverage = new Controls.ProtectedDrivesDisplay();
Icon = Properties.Resources.ElucidateIco;

InitializeComponent();

if (Properties.Settings.Default.UpdateRequired)
Expand Down
Loading

0 comments on commit da43179

Please sign in to comment.