Browse Source

Added: color icon set for legacy windows, version number in about dialog, check to prevent multiple instances

master
Claire 1 year ago
parent
commit
7a1f768eec
  1. 22
      LunaWin/LunaWin/LunaForm.Designer.cs
  2. 10
      LunaWin/LunaWin/LunaForm.cs
  3. 21
      LunaWin/LunaWin/LunaIcon.cs
  4. 36
      LunaWin/LunaWin/LunaWin.csproj
  5. 44
      LunaWin/LunaWin/Program.cs
  6. 4
      LunaWin/LunaWin/Properties/AssemblyInfo.cs
  7. 80
      LunaWin/LunaWin/Properties/Resources.Designer.cs
  8. 24
      LunaWin/LunaWin/Properties/Resources.resx
  9. BIN
      LunaWin/LunaWin/Resources/FirstqColor.ico
  10. BIN
      LunaWin/LunaWin/Resources/FullColor.ico
  11. BIN
      LunaWin/LunaWin/Resources/LastqColor.ico
  12. BIN
      LunaWin/LunaWin/Resources/NewColor.ico
  13. BIN
      LunaWin/LunaWin/Resources/WancColor.ico
  14. BIN
      LunaWin/LunaWin/Resources/WangColor.ico
  15. BIN
      LunaWin/LunaWin/Resources/WaxcColor.ico
  16. BIN
      LunaWin/LunaWin/Resources/WaxgColor.ico
  17. 79
      LunaWin/LunaWin/app.manifest

22
LunaWin/LunaWin/LunaForm.Designer.cs diff.generated

@ -33,6 +33,7 @@ namespace LunaWin
this.lblHeader = new System.Windows.Forms.Label();
this.lblText = new System.Windows.Forms.Label();
this.cmdHide = new System.Windows.Forms.Button();
this.lblVersion = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.imgLogo)).BeginInit();
this.SuspendLayout();
//
@ -50,11 +51,12 @@ namespace LunaWin
//
this.lblHeader.AutoSize = true;
this.lblHeader.Font = new System.Drawing.Font("Segoe UI Semibold", 14F);
this.lblHeader.Location = new System.Drawing.Point(75, 190);
this.lblHeader.Location = new System.Drawing.Point(97, 192);
this.lblHeader.Name = "lblHeader";
this.lblHeader.Size = new System.Drawing.Size(188, 25);
this.lblHeader.Size = new System.Drawing.Size(145, 25);
this.lblHeader.TabIndex = 1;
this.lblHeader.Text = "About LunaWin Beta";
this.lblHeader.Text = "About LunaWin";
this.lblHeader.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lblText
//
@ -78,12 +80,25 @@ namespace LunaWin
this.cmdHide.UseVisualStyleBackColor = true;
this.cmdHide.Click += new System.EventHandler(this.cmdHide_Click);
//
// lblVersion
//
this.lblVersion.Dock = System.Windows.Forms.DockStyle.Bottom;
this.lblVersion.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblVersion.ForeColor = System.Drawing.SystemColors.ControlDark;
this.lblVersion.Location = new System.Drawing.Point(0, 340);
this.lblVersion.Name = "lblVersion";
this.lblVersion.Size = new System.Drawing.Size(339, 23);
this.lblVersion.TabIndex = 4;
this.lblVersion.Text = "Beta";
this.lblVersion.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// LunaForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(339, 363);
this.ControlBox = false;
this.Controls.Add(this.lblVersion);
this.Controls.Add(this.cmdHide);
this.Controls.Add(this.lblText);
this.Controls.Add(this.lblHeader);
@ -108,5 +123,6 @@ namespace LunaWin
private System.Windows.Forms.Label lblHeader;
private System.Windows.Forms.Label lblText;
private System.Windows.Forms.Button cmdHide;
private System.Windows.Forms.Label lblVersion;
}
}

10
LunaWin/LunaWin/LunaForm.cs

@ -8,6 +8,7 @@ using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Reflection;
namespace LunaWin
{
@ -21,6 +22,15 @@ namespace LunaWin
public LunaForm()
{
InitializeComponent();
// get current version number
System.Version prodVersion = Assembly.GetExecutingAssembly().GetName().Version;
string strVersion = String.Join(".", prodVersion.Major,prodVersion.Minor,prodVersion.Build);
// add version number to label text
// truncate version number
lblVersion.Text = prodVersion.ToString();
}
private void cmdHide_Click(object sender, EventArgs e)

21
LunaWin/LunaWin/LunaIcon.cs

@ -32,7 +32,26 @@ namespace LunaWin
// set icon resource name
string IconName = txtInf.ToTitleCase(currentPhase.Id);
IconName += IsDarkMode() ? "Dark" : "Light" ;
OperatingSystem TheSystem = Environment.OSVersion;
switch (TheSystem.Version.Major)
{
// windows 10 and 11 support light/dark modes
case(10): case(11):
IconName += IsDarkMode() ? "Dark" : "Light";
break;
// windows 8 is dark only
case(8):
IconName += "Dark";
break;
// windows vista and 7 use color icons
default:
IconName += "Color";
break;
}
// set the icon resource
Globals.lunaIcon.Icon = Resources.ResourceManager.GetObject(IconName) as Icon;

36
LunaWin/LunaWin/LunaWin.csproj

@ -12,6 +12,7 @@
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<IsWebBootstrapper>false</IsWebBootstrapper>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
@ -24,7 +25,6 @@
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
@ -52,6 +52,15 @@
<PropertyGroup>
<ApplicationIcon>Resources\LunaWin.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>false</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<PropertyGroup>
<StartupObject />
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
@ -100,6 +109,7 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="app.manifest" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
@ -188,5 +198,29 @@
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<None Include="Resources\FirstqColor.ico" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\FullColor.ico" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\LastqColor.ico" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\NewColor.ico" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\WancColor.ico" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\WangColor.ico" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\WaxcColor.ico" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\WaxgColor.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

44
LunaWin/LunaWin/Program.cs

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
@ -8,34 +9,45 @@ namespace LunaWin
{
static class Program
{
/// <summary>
/// application guid
/// </summary>
static Mutex mutex = new Mutex(true, "{4e497175-ad4e-4974-8201-4c876ae69985}");
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
if(mutex.WaitOne(TimeSpan.Zero,true))
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
// set up the hidden form for handling window messaging events
LunaHidden lunaHidden = new LunaHidden();
lunaHidden.Show();
// set up the hidden form for handling window messaging events
LunaHidden lunaHidden = new LunaHidden();
lunaHidden.Show();
// set up the about window
Globals.lunaForm = new LunaForm();
// set up the about window
Globals.lunaForm = new LunaForm();
// get current startup preference
LunaMenu lm = new LunaMenu();
lm.GetStartup();
// get current startup preference
LunaMenu lm = new LunaMenu();
lm.GetStartup();
// invoke the icon display method
using (LunaIcon lunaIcon = new LunaIcon())
{
lunaIcon.Display();
// invoke the icon display method
using (LunaIcon lunaIcon = new LunaIcon())
{
lunaIcon.Display();
Application.Run();
Application.Run();
//Application.Run();
//Application.Run();
}
} else
{
Application.Exit();
}
}
}

4
LunaWin/LunaWin/Properties/AssemblyInfo.cs

@ -32,5 +32,5 @@ 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.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.2.0")]
[assembly: AssemblyFileVersion("1.0.2.0")]

80
LunaWin/LunaWin/Properties/Resources.Designer.cs diff.generated

@ -80,6 +80,16 @@ namespace LunaWin.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
internal static System.Drawing.Icon FirstqColor {
get {
object obj = ResourceManager.GetObject("FirstqColor", resourceCulture);
return ((System.Drawing.Icon)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
@ -100,6 +110,16 @@ namespace LunaWin.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
internal static System.Drawing.Icon FullColor {
get {
object obj = ResourceManager.GetObject("FullColor", resourceCulture);
return ((System.Drawing.Icon)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
@ -130,6 +150,16 @@ namespace LunaWin.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
internal static System.Drawing.Icon LastqColor {
get {
object obj = ResourceManager.GetObject("LastqColor", resourceCulture);
return ((System.Drawing.Icon)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
@ -160,6 +190,16 @@ namespace LunaWin.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
internal static System.Drawing.Icon NewColor {
get {
object obj = ResourceManager.GetObject("NewColor", resourceCulture);
return ((System.Drawing.Icon)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
@ -180,6 +220,16 @@ namespace LunaWin.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
internal static System.Drawing.Icon WancColor {
get {
object obj = ResourceManager.GetObject("WancColor", resourceCulture);
return ((System.Drawing.Icon)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
@ -200,6 +250,16 @@ namespace LunaWin.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
internal static System.Drawing.Icon WangColor {
get {
object obj = ResourceManager.GetObject("WangColor", resourceCulture);
return ((System.Drawing.Icon)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
@ -220,6 +280,16 @@ namespace LunaWin.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
internal static System.Drawing.Icon WaxcColor {
get {
object obj = ResourceManager.GetObject("WaxcColor", resourceCulture);
return ((System.Drawing.Icon)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
@ -240,6 +310,16 @@ namespace LunaWin.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
internal static System.Drawing.Icon WaxgColor {
get {
object obj = ResourceManager.GetObject("WaxgColor", resourceCulture);
return ((System.Drawing.Icon)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>

24
LunaWin/LunaWin/Properties/Resources.resx

@ -124,12 +124,18 @@
<data name="DefaultLight" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\DefaultLight.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="FirstqColor" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\FirstqColor.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="FirstqDark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\FirstqDark.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="FirstqLight" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\FirstqLight.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="FullColor" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\FullColor.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="FullDark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\FullDark.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@ -139,6 +145,9 @@
<data name="fullmoon" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\fullmoon200.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="LastqColor" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\LastqColor.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="LastqDark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\LastqDark.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@ -148,30 +157,45 @@
<data name="LunaWin" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\LunaWin.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="NewColor" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\NewColor.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="NewDark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\NewDark.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="NewLight" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\NewLight.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="WancColor" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\WancColor.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="WancDark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\WancDark.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="WancLight" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\WancLight.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="WangColor" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\WangColor.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="WangDark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\WangDark.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="WangLight" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\WangLight.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="WaxcColor" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\WaxcColor.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="WaxcDark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\WaxcDark.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="WaxcLight" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\WaxcLight.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="WaxgColor" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\WaxgColor.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="WaxgDark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\WaxgDark.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>

BIN
LunaWin/LunaWin/Resources/FirstqColor.ico

diff.bin_not_shown

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
LunaWin/LunaWin/Resources/FullColor.ico

diff.bin_not_shown

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
LunaWin/LunaWin/Resources/LastqColor.ico

diff.bin_not_shown

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
LunaWin/LunaWin/Resources/NewColor.ico

diff.bin_not_shown

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
LunaWin/LunaWin/Resources/WancColor.ico

diff.bin_not_shown

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
LunaWin/LunaWin/Resources/WangColor.ico

diff.bin_not_shown

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
LunaWin/LunaWin/Resources/WaxcColor.ico

diff.bin_not_shown

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
LunaWin/LunaWin/Resources/WaxgColor.ico

diff.bin_not_shown

After

Width:  |  Height:  |  Size: 1.1 KiB

79
LunaWin/LunaWin/app.manifest

@ -0,0 +1,79 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC Manifest Options
If you want to change the Windows User Account Control level replace the
requestedExecutionLevel node with one of the following.
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
Specifying requestedExecutionLevel element will disable file and registry virtualization.
Remove this element if your application requires this virtualization for backwards
compatibility.
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- A list of the Windows versions that this application has been tested on
and is designed to work with. Uncomment the appropriate elements
and Windows will automatically select the most compatible environment. -->
<!-- Windows Vista -->
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />
<!-- Windows 7 -->
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />
<!-- Windows 8 -->
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />
<!-- Windows 8.1 -->
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />
<!-- Windows 10 -->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
</application>
</compatibility>
<!-- Indicates that the application is DPI-aware and will not be automatically scaled by Windows at higher
DPIs. Windows Presentation Foundation (WPF) applications are automatically DPI-aware and do not need
to opt in. Windows Forms applications targeting .NET Framework 4.6 that opt into this setting, should
also set the 'EnableWindowsFormsHighDpiAutoResizing' setting to 'true' in their app.config.
Makes the application long-path aware. See https://docs.microsoft.com/windows/win32/fileio/maximum-file-path-limitation -->
<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
</windowsSettings>
</application>
-->
<!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->
<!--
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
-->
</assembly>
Loading…
Cancel
Save