Browse Source

主题切换BUG

tags/3.0.0
张剑 3 years ago
parent
commit
dd1c614be6
2 changed files with 5 additions and 1 deletions
  1. 1
    1
      XHWK.WKTool/App.config
  2. 4
    0
      XHWK.WKTool/XHMicroLessonSystemWindow.xaml.cs

+ 1
- 1
XHWK.WKTool/App.config View File

5
 	</startup>
5
 	</startup>
6
 	<appSettings>
6
 	<appSettings>
7
 		<!--0正式 1测试-->
7
 		<!--0正式 1测试-->
8
-		<add key="IsDebug" value="0" />
8
+		<add key="IsDebug" value="1" />
9
 		<!--参数是否加密 0不加密 1加密-->
9
 		<!--参数是否加密 0不加密 1加密-->
10
 		<add key="IsParameterEncryption" value="0" />
10
 		<add key="IsParameterEncryption" value="0" />
11
 		<!--版本号-->
11
 		<!--版本号-->

+ 4
- 0
XHWK.WKTool/XHMicroLessonSystemWindow.xaml.cs View File

180
             InitlbPen();
180
             InitlbPen();
181
             InitTQLPPen();
181
             InitTQLPPen();
182
             InitPrint();
182
             InitPrint();
183
+
184
+            SkinSelectInit();
183
         }
185
         }
184
 
186
 
185
         /// <summary>
187
         /// <summary>
930
             {
932
             {
931
                 HideSkinSelect();
933
                 HideSkinSelect();
932
                 SkinSelectWhite.Visibility = Visibility.Visible;
934
                 SkinSelectWhite.Visibility = Visibility.Visible;
935
+                SkinConfig.SwitchSkin(0);
933
             }
936
             }
934
             else if (APP.SkinStyle == "1")
937
             else if (APP.SkinStyle == "1")
935
             {
938
             {
936
                 HideSkinSelect();
939
                 HideSkinSelect();
937
                 SkinSelectTechnologyBlue.Visibility = Visibility.Visible;
940
                 SkinSelectTechnologyBlue.Visibility = Visibility.Visible;
941
+                SkinConfig.SwitchSkin(1);
938
             }
942
             }
939
             else
943
             else
940
             {
944
             {

Loading…
Cancel
Save