[GUI] Add Dark mode support for .NET 9 (wip). Close #9

Dark mode support for winforms was added with .net9, but the feature is still not finished. It should become better in future versions.
This commit is contained in:
VaDiM
2024-11-17 08:32:18 +03:00
parent 3605bc0ff9
commit 0d4e7ba4ae
9 changed files with 272 additions and 103 deletions

View File

@ -12,7 +12,7 @@ namespace AssetStudioGUI.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.9.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.12.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@ -394,5 +394,17 @@ namespace AssetStudioGUI.Properties {
this["useTypetreeLoading"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Light")]
public global::AssetStudioGUI.GuiColorTheme guiColorTheme {
get {
return ((global::AssetStudioGUI.GuiColorTheme)(this["guiColorTheme"]));
}
set {
this["guiColorTheme"] = value;
}
}
}
}