From 83f985851c9e399f468f56ab7ff55d7a5a4d02bd Mon Sep 17 00:00:00 2001
From: Lior Banai <36262995+LiorBanai@users.noreply.github.com>
Date: Sat, 1 May 2021 10:12:39 +0300
Subject: [PATCH] [DevExpress 20.2] set default skin to be the same as old
skin fix #971
---
Analogy/Analogy.csproj | 4 ----
Analogy/App.config | 18 +++---------------
Analogy/CommonChangeLog.cs | 1 +
Analogy/Program.cs | 2 +-
Analogy/Properties/Settings.Designer.cs | 6 +++---
Analogy/Properties/Settings.settings | 4 ++--
6 files changed, 10 insertions(+), 25 deletions(-)
diff --git a/Analogy/Analogy.csproj b/Analogy/Analogy.csproj
index b16f602a..da0cc5ec 100644
--- a/Analogy/Analogy.csproj
+++ b/Analogy/Analogy.csproj
@@ -65,10 +65,6 @@
-
-
-
-
diff --git a/Analogy/App.config b/Analogy/App.config
index de5ebab4..ac452fa5 100644
--- a/Analogy/App.config
+++ b/Analogy/App.config
@@ -45,19 +45,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -90,7 +78,7 @@
0
-
+ DevExpress Style
True
@@ -228,7 +216,7 @@
-
+ Skin
True
diff --git a/Analogy/CommonChangeLog.cs b/Analogy/CommonChangeLog.cs
index 1f1ae633..18cb6f4a 100644
--- a/Analogy/CommonChangeLog.cs
+++ b/Analogy/CommonChangeLog.cs
@@ -11,6 +11,7 @@ public static IEnumerable GetChangeLog()
{
return new List
{
+ new AnalogyChangeLog("V4.7.0 - [DevExpress 20.2] set default skin to be the same as old skin #971",AnalogChangeLogType.Improvement,"Lior Banai",new DateTime(2021,05,01)),
new AnalogyChangeLog("V4.7.0 - [Net framework 4.X] Remove WCF data provider #976",AnalogChangeLogType.Improvement,"Lior Banai",new DateTime(2021,05,01)),
new AnalogyChangeLog("V4.7.0 - [Analogy Updater] add partial mode for updating #977",AnalogChangeLogType.Improvement,"Lior Banai",new DateTime(2021,05,01)),
new AnalogyChangeLog("V4.7.0 - [DevExpress V20.2] FluentDesignForm ignores the mouse click in Windows 10 mode #973",AnalogChangeLogType.Bug,"Lior Banai",new DateTime(2021,04,29)),
diff --git a/Analogy/Program.cs b/Analogy/Program.cs
index 8898febc..91ad0c24 100644
--- a/Analogy/Program.cs
+++ b/Analogy/Program.cs
@@ -63,7 +63,7 @@ static void Main()
};
Application.SetCompatibleTextRenderingDefault(false);
Application.EnableVisualStyles();
-#if NETCOREAPP3_1
+#if NETCOREAPP3_1 || NET
Application.SetHighDpiMode(HighDpiMode.SystemAware);
#endif
Settings.IncreaseNumberOfLaunches();
diff --git a/Analogy/Properties/Settings.Designer.cs b/Analogy/Properties/Settings.Designer.cs
index c57266fe..82b0c6e4 100644
--- a/Analogy/Properties/Settings.Designer.cs
+++ b/Analogy/Properties/Settings.Designer.cs
@@ -12,7 +12,7 @@ namespace Analogy.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@@ -145,7 +145,7 @@ public uint AnalogyLaunchesCount {
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("")]
+ [global::System.Configuration.DefaultSettingValueAttribute("DevExpress Style")]
public string ApplicationSkinName {
get {
return ((string)(this["ApplicationSkinName"]));
@@ -719,7 +719,7 @@ public string ApplicationSvgPaletteName {
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("")]
+ [global::System.Configuration.DefaultSettingValueAttribute("Skin")]
public string ApplicationStyle {
get {
return ((string)(this["ApplicationStyle"]));
diff --git a/Analogy/Properties/Settings.settings b/Analogy/Properties/Settings.settings
index 2a29bad7..f9c68ab1 100644
--- a/Analogy/Properties/Settings.settings
+++ b/Analogy/Properties/Settings.settings
@@ -33,7 +33,7 @@
0
-
+ DevExpress Style
True
@@ -171,7 +171,7 @@
-
+ Skin
True