Просмотр исходного кода

zhao:解决冲突

tags/录制修改前
耀 4 лет назад
Родитель
Сommit
fde0bb0522
17 измененных файлов: 110 добавлений и 36 удалений
  1. 18
    12
      Common/system/BlackboardNew.cs
  2. Двоичные данные
      XHWK.WKTool/Images/31.png
  3. Двоичные данные
      XHWK.WKTool/Images/32.png
  4. Двоичные данные
      XHWK.WKTool/Images/Toobar0.png
  5. Двоичные данные
      XHWK.WKTool/Images/Toobar25.png
  6. Двоичные данные
      XHWK.WKTool/Images/Toobar26.png
  7. Двоичные данные
      XHWK.WKTool/Images/Toobar27.png
  8. Двоичные данные
      XHWK.WKTool/Images/Toobar28.png
  9. Двоичные данные
      XHWK.WKTool/Images/Toobar29.png
  10. Двоичные данные
      XHWK.WKTool/Images/Toobar30.png
  11. Двоичные данные
      XHWK.WKTool/Images/microLessonSystem_999.png
  12. 15
    6
      XHWK.WKTool/ScreenRecordingToolbarWindow.xaml
  13. 2
    1
      XHWK.WKTool/ScreenRecordingToolbarWindow.xaml.cs
  14. 24
    11
      XHWK.WKTool/XHMicroLessonSystemWindow.xaml
  15. 48
    4
      XHWK.WKTool/XHMicroLessonSystemWindow.xaml.cs
  16. 1
    0
      XHWK.WKTool/XHWK.WKTool.csproj
  17. 2
    2
      XHWK.WKTool/ZConfig.cs

+ 18
- 12
Common/system/BlackboardNew.cs Просмотреть файл

@@ -230,22 +230,28 @@ namespace Common.system
230 230
         // 清空
231 231
         public void clear()
232 232
         {
233
-     
234
-            ZBBPage page = new ZBBPage();
235
-            page.lines.Add(new ZBBPageStep());
236
-            page.lines = new List<ZBBPageStep>();
237
-            page.lines_histoty = new List<ZBBPageStep>();
238
-            strokes_page_all.Add(page);
239 233
 
234
+            //ZBBPage page = new ZBBPage();
235
+            //page.lines.Add(new ZBBPageStep());
236
+            //page.lines = new List<ZBBPageStep>();
237
+            //page.lines_histoty = new List<ZBBPageStep>();
238
+            //strokes_page_all.Add(page);
240 239
 
241
-            //ZBBPage page = strokes_page_all[pagenum];
242
-            //    if (page != null)
240
+            strokes_page_all.Clear();
241
+            m_canvas.Strokes.Clear();
242
+            //for (int i=0;i< strokes_page_all.Count;i++)
243 243
             //{
244
-            //    m_canvas.Strokes.Clear();
245
-            //    page.lines_histoty.Clear();
246
-            //    page.lines.Clear();
247
-            //    page.lines.Add(new ZBBPageStep());
244
+            //    ZBBPage page = strokes_page_all[pagenum];
245
+            //    if (page != null)
246
+            //    {
247
+            //        m_canvas.Strokes.Clear();
248
+            //        page.lines_histoty.Clear();
249
+            //        page.lines.Clear();
250
+            //        page.lines.Add(new ZBBPageStep());
251
+            //    }
248 252
             //}
253
+
254
+
249 255
         }
250 256
 
251 257
         public void changepage(int mpagenum)

Двоичные данные
XHWK.WKTool/Images/31.png Просмотреть файл


Двоичные данные
XHWK.WKTool/Images/32.png Просмотреть файл


Двоичные данные
XHWK.WKTool/Images/Toobar0.png Просмотреть файл


Двоичные данные
XHWK.WKTool/Images/Toobar25.png Просмотреть файл


Двоичные данные
XHWK.WKTool/Images/Toobar26.png Просмотреть файл


Двоичные данные
XHWK.WKTool/Images/Toobar27.png Просмотреть файл


Двоичные данные
XHWK.WKTool/Images/Toobar28.png Просмотреть файл


Двоичные данные
XHWK.WKTool/Images/Toobar29.png Просмотреть файл


Двоичные данные
XHWK.WKTool/Images/Toobar30.png Просмотреть файл


Двоичные данные
XHWK.WKTool/Images/microLessonSystem_999.png Просмотреть файл


+ 15
- 6
XHWK.WKTool/ScreenRecordingToolbarWindow.xaml Просмотреть файл

@@ -73,16 +73,25 @@
73 73
             </Grid>
74 74
 
75 75
             <Image Grid.Row="1"  Source="./Images/Toobar0.png"/>
76
-            <TextBlock Grid.Row="1" x:Name="txbTime" Text="00:00" FontSize="23" Foreground="#FFFFFF" Margin="30,50,0,0"/>
76
+            <Button Grid.Row="1" x:Name="BtnRecordingScreen" HorizontalAlignment="Left"  Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="46,0,15,0" Click="BtnRecordingScreen_Click">
77
+                <Image x:Name="ImgRecordingScreen" Source="./Images/Toobar25.png"/>
78
+            </Button>
79
+            <TextBlock Grid.Row="1" x:Name="txbTime" Text="00:00" FontSize="20" Foreground="#FFFFFF" Margin="39,80,0,0" Visibility="Hidden"/>
77 80
             <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,0,15,0">
78
-                <Button x:Name="BtnRecordingScreen"  Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,15,0" Click="BtnRecordingScreen_Click">
81
+                <!--<Button x:Name="BtnRecordingScreen"  Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,15,0" Click="BtnRecordingScreen_Click">
79 82
                     <Image x:Name="ImgRecordingScreen" Source="./Images/Toobar25.png"/>
80
-                </Button>
81
-                <Button x:Name="BtnStopRecordingScreen" Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,15,0" Click="BtnStopRecordingScreen_Click">
83
+                </Button>-->
84
+                <Button x:Name="BtnStopRecordingScreen" Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,20,0" Click="BtnStopRecordingScreen_Click">
82 85
                     <Image x:Name="ImgEndRecordingScreen" Source="./Images/Toobar14.png"/>
83 86
                 </Button>
84
-                <Button  Cursor="Hand" x:Name="btnBlackPen" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,10,0" Click="BtnBlackPen_Click">
85
-                    <Image Source="./Images/Toobar8.png"/>
87
+                <Button  Cursor="Hand" x:Name="btnBlackPenOne" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,20,0" Click="BtnBlackPen_Click">
88
+                    <Image Source="./Images/Toobar27.png"/>
89
+                </Button>
90
+                <Button  Cursor="Hand" x:Name="btnBlackPenTwo" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,20,0" Click="BtnBlackPen_Click">
91
+                    <Image Source="./Images/Toobar28.png"/>
92
+                </Button>
93
+                <Button  Cursor="Hand" x:Name="btnBlackPen" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,20,0" Click="BtnBlackPen_Click">
94
+                    <Image Source="./Images/Toobar29.png"/>
86 95
                 </Button>
87 96
             </StackPanel>
88 97
         </Grid>

+ 2
- 1
XHWK.WKTool/ScreenRecordingToolbarWindow.xaml.cs Просмотреть файл

@@ -87,7 +87,7 @@ namespace XHWK.WKTool
87 87
             gridToolbar.Visibility = Visibility.Hidden;
88 88
             gridColour.Visibility = Visibility.Hidden;
89 89
             gridThickness.Visibility = Visibility.Hidden;
90
-            ImgRecordingScreen.Source = new BitmapImage(new Uri("pack://application:,,,/Images/microLessonSystem_14.png"));
90
+            ImgRecordingScreen.Source = new BitmapImage(new Uri("pack://application:,,,/Images/Toobar26.png"));
91 91
             if (t == null)
92 92
             {
93 93
                 t = new DispatcherTimer();
@@ -228,6 +228,7 @@ namespace XHWK.WKTool
228 228
                 //#endregion
229 229
 
230 230
                 ImgRecordingScreen.Source = new BitmapImage(new Uri("pack://application:,,,/Images/Toobar25.png"));
231
+                txbTime.Visibility = Visibility.Visible;
231 232
                 try
232 233
                 {
233 234
                     new Thread(new ThreadStart(new Action(() =>

+ 24
- 11
XHWK.WKTool/XHMicroLessonSystemWindow.xaml Просмотреть файл

@@ -103,7 +103,8 @@
103 103
                             <TextBlock Text="停止" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
104 104
                         </StackPanel>
105 105
                     </Button>
106
-                    <TextBlock x:Name="txbType" Text="" FontSize="20" Foreground="#FFFFFF" Margin="20,20,0,0"/>
106
+                        <TextBlock x:Name="txbTime" Text="" FontSize="20" Foreground="#FFFFFF" Margin="20,20,0,0"/>
107
+                        <TextBlock x:Name="txbType" Text="" FontSize="20" Foreground="#FFFFFF" Margin="20,20,0,0"/>
107 108
                 </StackPanel>
108 109
                 <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="10,10,10,0">
109 110
                     <Button Cursor="Hand" x:Name="btnAdd" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnAdd_Click" Margin="0,0,30,0">
@@ -163,7 +164,7 @@
163 164
                              MouseLeftButtonUp="IMG1_MouseLeftButtonUp"
164 165
                              MouseMove="IMG1_MouseMove"
165 166
                              MouseWheel="IMG1_MouseWheel" >
166
-                                                <Image Name="imgCanvas" Width="635" Height="auto" VerticalAlignment="Top" HorizontalAlignment="Left" Stretch="Uniform" MouseDown="PicEMap_MouseDown" RenderTransform="{StaticResource Imageview}" MouseRightButtonDown="imgCanvas_MouseRightButtonDown">
167
+                                                <Image Name="imgCanvas" Width="635" Height="auto" VerticalAlignment="Top" HorizontalAlignment="Left" Stretch="Uniform" MouseDown="PicEMap_MouseDown" RenderTransform="{StaticResource Imageview}" MouseRightButtonDown="imgCanvas_MouseRightButtonDown" Visibility="Collapsed">
167 168
                                                 </Image>
168 169
                                             </ContentControl>
169 170
                                         </ScrollViewer>
@@ -171,7 +172,7 @@
171 172
                                 </Border>
172 173
                             </Grid>
173 174
                             <!--导入图片-->
174
-                            <Image x:Name="imgDocumentation"/>
175
+                            <Image x:Name="imgDocumentation" Visibility="Collapsed"/>
175 176
                             <!--<Button Cursor="Hand" x:Name="btnOk" Height="50" Width="50" Content="√" FontSize="26" Background="#2E8CF0" Foreground="#FFFFFF" Click="btnOk_Click" Visibility="Collapsed"/>-->
176 177
                             <InkCanvas Grid.Row="0" x:Name="blackboard_canvas"  Background="Transparent" Visibility="Collapsed" Grid.ColumnSpan="2" />
177 178
                             <!--摄像头-->
@@ -194,8 +195,8 @@
194 195
                     <Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,16,0"/>
195 196
                 </Grid>
196 197
                 <!--页码-->
197
-                <Grid Grid.Row="1" x:Name="gridPage" Visibility="Collapsed" Background="#FFFFFF">
198
-                    <StackPanel Grid.Row="0" Orientation="Horizontal" Background="#FFFFFF" Width="180" HorizontalAlignment="Center"
198
+                <Grid Grid.Row="1" x:Name="gridPage" Visibility="Collapsed">
199
+                    <StackPanel Grid.Row="0" Orientation="Horizontal" Background="Transparent" Width="180" HorizontalAlignment="Center"
199 200
             Height="30" Margin="0,0,0,0" Grid.Column="1" VerticalAlignment="Bottom">
200 201
                     <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
201 202
                     x:Name="last_button"
@@ -319,12 +320,24 @@
319 320
             <Grid Grid.Row="2" Background="#EFF1F8" Margin="0,0,0,0">
320 321
                 <StackPanel Orientation="Horizontal" Margin="0,0,0,0">
321 322
                     <TextBlock Text="颜色:" FontSize="14" Padding="10,10,0,0"/>
322
-                    <Button Cursor="Hand" x:Name="btnWhite" Background="#FFFFFF" Width="20" Height="20" Click="BtnWhite_Click" Margin="0,2,0,0"/>
323
-                    <Button Cursor="Hand" x:Name="btnRed" Background="#FF0000" Width="20" Height="20" Margin="5,2,0,0" Click="BtnRed_Click"/>
324
-                    <Button Cursor="Hand" x:Name="btnGray" Background="#333333" Width="20" Height="20" Margin="5,2,0,0" Click="BtnGray_Click"/>
325
-                    <Button Cursor="Hand" x:Name="btnCyanBlue" Background="#63D600" Width="20" Height="20" Margin="5,2,0,0" Click="BtnCyanBlue_Click"/>
326
-                    <Button Cursor="Hand" x:Name="btnYellow" Background="#FFBC00" Width="20" Height="20" Margin="5,2,0,0" Click="BtnYellow_Click"/>
327
-                    <Button Cursor="Hand" x:Name="btnBlue" Background="#00B4FC" Width="20" Height="20" Margin="5,2,0,0" Click="BtnBlue_Click"/>
323
+                    <Button Cursor="Hand" x:Name="btnWhite" Background="#FFFFFF" Width="20" Height="20" Click="BtnWhite_Click" Margin="0,2,0,0" Visibility="Collapsed"/>
324
+
325
+                    
326
+                        <Button Cursor="Hand" x:Name="btnRed" Background="#FF0000" Width="20" Height="20" Margin="5,2,0,0" Click="BtnRed_Click">
327
+                            <Image x:Name="imgRed" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Visible"/>
328
+                        </Button>
329
+                        <Button Cursor="Hand" x:Name="btnGray" Background="#333333" Width="20" Height="20" Margin="5,2,0,0" Click="BtnGray_Click">
330
+                            <Image x:Name="imgGray" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
331
+                        </Button>
332
+                        <Button Cursor="Hand" x:Name="btnCyanBlue" Background="#63D600" Width="20" Height="20" Margin="5,2,0,0" Click="BtnCyanBlue_Click">
333
+                            <Image x:Name="imgCyanBlue" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
334
+                        </Button>
335
+                        <Button Cursor="Hand" x:Name="btnYellow" Background="#FFBC00" Width="20" Height="20" Margin="5,2,0,0" Click="BtnYellow_Click">
336
+                            <Image x:Name="imgYellow" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
337
+                        </Button>
338
+                        <Button Cursor="Hand" x:Name="btnBlue" Background="#00B4FC" Width="20" Height="20" Margin="5,2,0,0" Click="BtnBlue_Click">
339
+                            <Image x:Name="imgBlue" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
340
+                        </Button>
328 341
                     <TextBlock Text="粗细:" FontSize="14" Padding="15,5,0,0" Margin="5,5,0,0"/>
329 342
                     <RadioButton Cursor="Hand" x:Name="rbnFine" Content="细" FontSize="14" Margin="0,10,0,0" IsChecked="True" Click="RbnFine_Click"/>
330 343
                     <RadioButton Cursor="Hand" x:Name="rbnIn" Content="中" FontSize="14" Margin="5,10,0,0" Click="RbnIn_Click"/>

+ 48
- 4
XHWK.WKTool/XHMicroLessonSystemWindow.xaml.cs Просмотреть файл

@@ -201,6 +201,7 @@ namespace XHWK.WKTool
201 201
             }
202 202
 
203 203
             string time = string.Format("{0:D2}:{1:D2}",/* _timeSpan.Hours,*/ _timeSpan.Minutes, _timeSpan.Seconds);
204
+            txbTime.Text = time;
204 205
             //txbTime.Text = time;
205 206
         }
206 207
         /// <summary>
@@ -654,10 +655,14 @@ namespace XHWK.WKTool
654 655
         /// <param name="e"></param>
655 656
         private void BtnRed_Click(object sender, RoutedEventArgs e)
656 657
         {
657
-
658 658
             //设置 DrawingAttributes 的 Color 属性设置颜色  
659 659
             drawingAttributes.Color = Colors.Red;
660 660
             Color = Colors.Red;
661
+            imgRed.Visibility = Visibility.Visible;
662
+            imgGray.Visibility = Visibility.Collapsed;
663
+            imgCyanBlue.Visibility = Visibility.Collapsed;
664
+            imgYellow.Visibility = Visibility.Collapsed;
665
+            imgBlue.Visibility = Visibility.Collapsed;
661 666
         }
662 667
         /// <summary>
663 668
         /// 画笔颜色事件 黑色
@@ -668,6 +673,11 @@ namespace XHWK.WKTool
668 673
         {
669 674
             drawingAttributes.Color = Colors.Black;
670 675
             Color = Colors.Black;
676
+            imgRed.Visibility = Visibility.Collapsed;
677
+            imgGray.Visibility = Visibility.Visible;
678
+            imgCyanBlue.Visibility = Visibility.Collapsed;
679
+            imgYellow.Visibility = Visibility.Collapsed;
680
+            imgBlue.Visibility = Visibility.Collapsed;
671 681
         }
672 682
         /// <summary>
673 683
         /// 画笔颜色事件 青色
@@ -678,6 +688,11 @@ namespace XHWK.WKTool
678 688
         {
679 689
             drawingAttributes.Color = Colors.LimeGreen;
680 690
             Color = Colors.LimeGreen;
691
+            imgRed.Visibility = Visibility.Collapsed;
692
+            imgGray.Visibility = Visibility.Collapsed;
693
+            imgCyanBlue.Visibility = Visibility.Visible;
694
+            imgYellow.Visibility = Visibility.Collapsed;
695
+            imgBlue.Visibility = Visibility.Collapsed;
681 696
         }
682 697
         /// <summary>
683 698
         /// 画笔颜色事件 黄色
@@ -688,6 +703,11 @@ namespace XHWK.WKTool
688 703
         {
689 704
             drawingAttributes.Color = Colors.Gold;
690 705
             Color = Colors.Gold;
706
+            imgRed.Visibility = Visibility.Collapsed;
707
+            imgGray.Visibility = Visibility.Collapsed;
708
+            imgCyanBlue.Visibility = Visibility.Collapsed;
709
+            imgYellow.Visibility = Visibility.Visible;
710
+            imgBlue.Visibility = Visibility.Collapsed;
691 711
         }
692 712
         /// <summary>
693 713
         /// 画笔颜色事件 蓝色
@@ -698,6 +718,11 @@ namespace XHWK.WKTool
698 718
         {
699 719
             drawingAttributes.Color = Colors.DeepSkyBlue;
700 720
             Color = Colors.DeepSkyBlue;
721
+            imgRed.Visibility = Visibility.Collapsed;
722
+            imgGray.Visibility = Visibility.Collapsed;
723
+            imgCyanBlue.Visibility = Visibility.Collapsed;
724
+            imgYellow.Visibility = Visibility.Collapsed;
725
+            imgBlue.Visibility = Visibility.Visible;
701 726
         }
702 727
         /// <summary>
703 728
         /// 画笔粗细事件 细
@@ -1063,14 +1088,17 @@ namespace XHWK.WKTool
1063 1088
                             {
1064 1089
                                 APP.pageData.currpage = APP.pageData.pagenum + 1;
1065 1090
                                 APP.pageData.pagenum += num;
1091
+                                gridPage.Visibility = Visibility.Visible;//页码大于0 显示
1066 1092
                             }
1067 1093
                             if (APP.pageData.currpage > 0 && APP.pageData.currpage < APP.PageDrawList.Count)
1068 1094
                             {
1069
-                                imgDocumentation.Source = new BitmapImage(new Uri(APP.PageDrawList[APP.pageData.currpage - 1].PageImagePath));//给当前页面展示图片
1095
+
1070 1096
                                 imgCanvas.Source = null;
1071 1097
                                 ImgScreenshot.Visibility = Visibility.Collapsed;//当前页为导入时不可截图
1072 1098
                                 ImgScreenshotTwo.Visibility = Visibility.Visible;
1073 1099
                                 btnScreenshot.IsEnabled = false;
1100
+                                imgDocumentation.Visibility = Visibility.Visible;
1101
+                                imgDocumentation.Source = new BitmapImage(new Uri(APP.PageDrawList[APP.pageData.currpage - 1].PageImagePath));//给当前页面展示图片
1074 1102
                             }
1075 1103
                             else
1076 1104
                             {
@@ -1197,6 +1225,7 @@ namespace XHWK.WKTool
1197 1225
                         t.Start();
1198 1226
                     }
1199 1227
                     t.Interval = new TimeSpan(0, 0, 0, 1);
1228
+                    txbTime.Visibility = Visibility.Visible;
1200 1229
                     Stack(); 
1201 1230
                     #endregion
1202 1231
 
@@ -1298,6 +1327,7 @@ namespace XHWK.WKTool
1298 1327
                 ImgStop.Visibility = Visibility.Collapsed;
1299 1328
                 ImgStopTwo.Visibility = Visibility.Visible;
1300 1329
                 TxbRecordingWord.Text = "暂停";
1330
+                Stack();
1301 1331
                 #region 2秒内不可点击
1302 1332
                 new Thread(new ThreadStart(new Action(() =>
1303 1333
                 {
@@ -1340,6 +1370,7 @@ namespace XHWK.WKTool
1340 1370
                 ImgStop.Visibility = Visibility.Visible;
1341 1371
                 ImgStopTwo.Visibility = Visibility.Collapsed;
1342 1372
                 TxbRecordingWord.Text = "继续";
1373
+                TimeOut();
1343 1374
                 #region 2秒内不可点击
1344 1375
                 new Thread(new ThreadStart(new Action(() =>
1345 1376
                 {
@@ -1441,6 +1472,7 @@ namespace XHWK.WKTool
1441 1472
                 ImgRecord.Source = new BitmapImage(new Uri("pack://application:,,,/Images/microLessonSystem_14.png"));
1442 1473
                 ImgStop.Visibility = Visibility.Visible;
1443 1474
                 ImgStopTwo.Visibility = Visibility.Collapsed;
1475
+                TimeOut();
1444 1476
                 txbType.Text = "保存中";
1445 1477
                 #region 2秒内不可点击
1446 1478
                 new Thread(new ThreadStart(new Action(() =>
@@ -1454,6 +1486,15 @@ namespace XHWK.WKTool
1454 1486
                 #endregion
1455 1487
                 try
1456 1488
                 {
1489
+                    #region 清空画板数据
1490
+                    APP.pageData.currpage = 0;
1491
+                    APP.pageData.pagenum = 0;
1492
+                    myblackboard.clear();
1493
+                    APP.PageDrawList.Clear();
1494
+                    imgCanvas.Source = null;
1495
+                    imgDocumentation.Source = null;
1496
+                    #endregion
1497
+
1457 1498
                     //缩略图
1458 1499
                     string ThumbnailPath = FileToolsCommon.GetDirectoryName(VideoSavePathName) + "ThumbnailPath/";
1459 1500
                     FileToolsCommon.CreateDirectory(ThumbnailPath);
@@ -1503,6 +1544,9 @@ namespace XHWK.WKTool
1503 1544
                             BtnRecord.IsEnabled = true;
1504 1545
                             btnStop.IsEnabled = true;
1505 1546
                             TxbRecordingWord.Text = "录制";
1547
+                            End();
1548
+                            txbTime.Text = "";
1549
+                            txbTime.Visibility = Visibility.Hidden;
1506 1550
                             txbType.Text = "";
1507 1551
                         });
1508 1552
                         FileToolsCommon.DeleteFile(ThumbnailPathName);
@@ -1549,7 +1593,7 @@ namespace XHWK.WKTool
1549 1593
             APP.pageData.pagenum += 1;
1550 1594
             gridPage.Visibility = Visibility.Visible;//页码大于0 显示
1551 1595
             APP.pageData.currpage = APP.pageData.pagenum;
1552
-            myblackboard.changepage(APP.pageData.currpage - 1);
1596
+            //myblackboard.changepage(APP.pageData.currpage - 1);
1553 1597
             ///清空页面图片UI
1554 1598
             imgCanvas.Source = null;
1555 1599
             imgDocumentation.Source = null;
@@ -1557,7 +1601,7 @@ namespace XHWK.WKTool
1557 1601
             Model_DrawData model_DrawData = new Model_DrawData();
1558 1602
             model_DrawData.PageNum = APP.pageData.currpage;
1559 1603
             APP.PageDrawList.Add(model_DrawData);
1560
-            APP.SaveDraw();
1604
+            //APP.SaveDraw();
1561 1605
             if (btnImport.IsEnabled == true)
1562 1606
             {
1563 1607
                 ///截图可用

+ 1
- 0
XHWK.WKTool/XHWK.WKTool.csproj Просмотреть файл

@@ -1538,6 +1538,7 @@
1538 1538
     <Resource Include="Images\countdown3_7.png" />
1539 1539
     <Resource Include="Images\countdown3_8.png" />
1540 1540
     <Resource Include="Images\countdown3_9.png" />
1541
+    <Resource Include="Images\microLessonSystem_999.png" />
1541 1542
   </ItemGroup>
1542 1543
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
1543 1544
 </Project>

+ 2
- 2
XHWK.WKTool/ZConfig.cs Просмотреть файл

@@ -13,9 +13,9 @@ namespace XHWK.WKTool.Config
13 13
         /// <summary>
14 14
         /// 当前版本号
15 15
         /// </summary>
16
-        public static int versionCode = 2;
16
+        public static int versionCode = 3;
17 17
 
18
-        public static string versionName = "1.0.1";
18
+        public static string versionName = "1.0.2";
19 19
 
20 20
         //接口地址
21 21
         public static string apiUrl = isDebug ? "http://schoolapitest.xhkjedu.com" : "http://schoolapi.xhkjedu.com";

Загрузка…
Отмена
Сохранить