Browse Source

微课设置文字修改

master
张剑 1 year ago
parent
commit
7bb750bf6d
2 changed files with 23 additions and 16 deletions
  1. 22
    13
      XHWK.WKTool/MainWindow.xaml
  2. 1
    3
      XHWK.WKTool/MainWindow.xaml.cs

+ 22
- 13
XHWK.WKTool/MainWindow.xaml View File

414
                                     </Grid>
414
                                     </Grid>
415
                                     <ControlTemplate.Triggers>
415
                                     <ControlTemplate.Triggers>
416
                                         <Trigger Property="IsMouseOver" Value="True">
416
                                         <Trigger Property="IsMouseOver" Value="True">
417
-                                            <Setter TargetName="ImgSetUp" Property="Source" Value="/SkinImages/TechnologyBlue/HM_Close_MI.png" />
417
+                                            <Setter TargetName="ImgSetUp" Property="Source"
418
+                                                    Value="/SkinImages/TechnologyBlue/HM_Close_MI.png" />
418
                                             <Setter TargetName="Word" Property="Foreground" Value="#FFFFFFFF" />
419
                                             <Setter TargetName="Word" Property="Foreground" Value="#FFFFFFFF" />
419
                                         </Trigger>
420
                                         </Trigger>
420
                                     </ControlTemplate.Triggers>
421
                                     </ControlTemplate.Triggers>
616
                                         </Grid>
617
                                         </Grid>
617
                                         <ControlTemplate.Triggers>
618
                                         <ControlTemplate.Triggers>
618
                                             <Trigger Property="IsMouseOver" Value="True">
619
                                             <Trigger Property="IsMouseOver" Value="True">
619
-                                                <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/White/Toolbar_LP_MI.png" />
620
+                                                <Setter TargetName="ImgScreenRecording" Property="Source"
621
+                                                        Value="/SkinImages/White/Toolbar_LP_MI.png" />
620
                                             </Trigger>
622
                                             </Trigger>
621
                                             <Trigger Property="IsPressed" Value="True">
623
                                             <Trigger Property="IsPressed" Value="True">
622
-                                                <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/White/Toolbar_LP_CL.png" />
623
-                                                <Setter TargetName="WordScreenRecording" Property="Foreground" Value="#FFFFFFFF" />
624
+                                                <Setter TargetName="ImgScreenRecording" Property="Source"
625
+                                                        Value="/SkinImages/White/Toolbar_LP_CL.png" />
626
+                                                <Setter TargetName="WordScreenRecording" Property="Foreground"
627
+                                                        Value="#FFFFFFFF" />
624
                                             </Trigger>
628
                                             </Trigger>
625
                                             <Trigger Property="IsEnabled" Value="False">
629
                                             <Trigger Property="IsEnabled" Value="False">
626
-                                                <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/White/Toolbar_LP_N.png" />
627
-                                                <Setter TargetName="WordScreenRecording" Property="Foreground" Value="#FFC3C3C3" />
630
+                                                <Setter TargetName="ImgScreenRecording" Property="Source"
631
+                                                        Value="/SkinImages/White/Toolbar_LP_N.png" />
632
+                                                <Setter TargetName="WordScreenRecording" Property="Foreground"
633
+                                                        Value="#FFC3C3C3" />
628
                                             </Trigger>
634
                                             </Trigger>
629
                                         </ControlTemplate.Triggers>
635
                                         </ControlTemplate.Triggers>
630
                                     </ControlTemplate>
636
                                     </ControlTemplate>
1194
                                                 <Button.Template>
1200
                                                 <Button.Template>
1195
                                                     <ControlTemplate TargetType="{x:Type Button}">
1201
                                                     <ControlTemplate TargetType="{x:Type Button}">
1196
                                                         <StackPanel>
1202
                                                         <StackPanel>
1197
-                                                            <Image x:Name="ImgRecord" Source="/SkinImages/Skin/Skin_White.png" />
1203
+                                                            <Image x:Name="ImgRecord"
1204
+                                                                   Source="/SkinImages/Skin/Skin_White.png" />
1198
                                                         </StackPanel>
1205
                                                         </StackPanel>
1199
                                                         <ControlTemplate.Triggers>
1206
                                                         <ControlTemplate.Triggers>
1200
                                                             <Trigger Property="IsMouseOver" Value="True">
1207
                                                             <Trigger Property="IsMouseOver" Value="True">
1201
-                                                                <Setter TargetName="ImgRecord" Property="Source" Value="/SkinImages/Skin/Skin_White_MI.png" />
1208
+                                                                <Setter TargetName="ImgRecord" Property="Source"
1209
+                                                                        Value="/SkinImages/Skin/Skin_White_MI.png" />
1202
                                                             </Trigger>
1210
                                                             </Trigger>
1203
                                                         </ControlTemplate.Triggers>
1211
                                                         </ControlTemplate.Triggers>
1204
                                                     </ControlTemplate>
1212
                                                     </ControlTemplate>
1224
                                                 <Button.Template>
1232
                                                 <Button.Template>
1225
                                                     <ControlTemplate TargetType="{x:Type Button}">
1233
                                                     <ControlTemplate TargetType="{x:Type Button}">
1226
                                                         <StackPanel>
1234
                                                         <StackPanel>
1227
-                                                            <Image x:Name="ImgRecord" Source="/SkinImages/Skin/Skin_TechnologyBlue.png" />
1235
+                                                            <Image x:Name="ImgRecord"
1236
+                                                                   Source="/SkinImages/Skin/Skin_TechnologyBlue.png" />
1228
                                                         </StackPanel>
1237
                                                         </StackPanel>
1229
                                                         <ControlTemplate.Triggers>
1238
                                                         <ControlTemplate.Triggers>
1230
                                                             <Trigger Property="IsMouseOver" Value="True">
1239
                                                             <Trigger Property="IsMouseOver" Value="True">
1231
-                                                                <Setter TargetName="ImgRecord" Property="Source" Value="/SkinImages/Skin/Skin_TechnologyBlue_MI.png" />
1240
+                                                                <Setter TargetName="ImgRecord" Property="Source"
1241
+                                                                        Value="/SkinImages/Skin/Skin_TechnologyBlue_MI.png" />
1232
                                                             </Trigger>
1242
                                                             </Trigger>
1233
                                                         </ControlTemplate.Triggers>
1243
                                                         </ControlTemplate.Triggers>
1234
                                                     </ControlTemplate>
1244
                                                     </ControlTemplate>
1333
                                                 VerticalAlignment="Center"
1343
                                                 VerticalAlignment="Center"
1334
                                                 FontSize="16"
1344
                                                 FontSize="16"
1335
                                                 Foreground="#333333"
1345
                                                 Foreground="#333333"
1336
-                                                Text="摄像头位置" />
1346
+                                                Text="头像位置" />
1337
                                         </Grid>
1347
                                         </Grid>
1338
                                         <Grid Grid.Row="1" Grid.Column="3">
1348
                                         <Grid Grid.Row="1" Grid.Column="3">
1339
                                             <StackPanel
1349
                                             <StackPanel
1579
 
1589
 
1580
                                     <Grid Grid.Row="3" Grid.Column="0">
1590
                                     <Grid Grid.Row="3" Grid.Column="0">
1581
                                         <TextBlock
1591
                                         <TextBlock
1582
-                                            x:Name="TxbVersion"
1583
                                             Margin="0,0,0,0"
1592
                                             Margin="0,0,0,0"
1584
                                             HorizontalAlignment="Right"
1593
                                             HorizontalAlignment="Right"
1585
                                             VerticalAlignment="Center"
1594
                                             VerticalAlignment="Center"
1586
                                             FontSize="16"
1595
                                             FontSize="16"
1587
                                             Foreground="#FF666666"
1596
                                             Foreground="#FF666666"
1588
-                                            Text="正式版" />
1597
+                                            Text="版" />
1589
                                     </Grid>
1598
                                     </Grid>
1590
                                     <Grid Grid.Row="3" Grid.Column="1">
1599
                                     <Grid Grid.Row="3" Grid.Column="1">
1591
                                         <TextBlock
1600
                                         <TextBlock

+ 1
- 3
XHWK.WKTool/MainWindow.xaml.cs View File

120
             APP.PageDrawList = new List<Model_DrawData>();
120
             APP.PageDrawList = new List<Model_DrawData>();
121
             Model_DrawData modelDrawData = new Model_DrawData { PageNum = APP.PageContextData.currpage };
121
             Model_DrawData modelDrawData = new Model_DrawData { PageNum = APP.PageContextData.currpage };
122
             APP.PageDrawList.Add(modelDrawData);
122
             APP.PageDrawList.Add(modelDrawData);
123
-            Txbv.Text = "v" + FileToolsCommon.GetConfigValue("VersionName");
123
+            Txbv.Text = APP.isDebug ? "测试版" : "正式版" + " v" + FileToolsCommon.GetConfigValue("VersionName");
124
             TxbStoragePath.Content = FileToolsCommon.GetConfigValue("VideoType");
124
             TxbStoragePath.Content = FileToolsCommon.GetConfigValue("VideoType");
125
             TxbStoragePath.Content = FileToolsCommon.GetConfigValue("VideoSavePath");
125
             TxbStoragePath.Content = FileToolsCommon.GetConfigValue("VideoSavePath");
126
             Initialize();
126
             Initialize();
182
         /// </summary>
182
         /// </summary>
183
         public void Initialize()
183
         public void Initialize()
184
         {
184
         {
185
-            TxbVersion.Text = APP.isDebug ? "测试版:" : "正式版:";
186
-
187
             #region 数据初始化
185
             #region 数据初始化
188
 
186
 
189
             string pathTemp = AppDomain.CurrentDomain.BaseDirectory + "Temp\\";
187
             string pathTemp = AppDomain.CurrentDomain.BaseDirectory + "Temp\\";

Loading…
Cancel
Save