Browse Source

zhao:优化录制保存,保存时禁止录屏以避免冲突。

tags/录制修改前
耀 4 years ago
parent
commit
42764bd4d2
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      XHWK.WKTool/XHMicroLessonSystemWindow.xaml.cs

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

@@ -3795,6 +3795,7 @@ namespace XHWK.WKTool
3795 3795
                             {
3796 3796
                                 BtnRecord.IsEnabled = false;
3797 3797
                                 btnStop.IsEnabled = false;
3798
+                                btnScreenRecording.IsEnabled = false;
3798 3799
                             });
3799 3800
                         }))).Start();
3800 3801
                         #endregion
@@ -3855,6 +3856,7 @@ namespace XHWK.WKTool
3855 3856
                                     MessageWindow.Show("录制失败," + ErrMessage);
3856 3857
                                     BtnRecord.IsEnabled = true;
3857 3858
                                     btnStop.IsEnabled = true;
3859
+                                    btnScreenRecording.IsEnabled = true;
3858 3860
                                     TxbRecordingWord.Text = "录制";
3859 3861
                                     txbType.Text = "";
3860 3862
                                 });
@@ -3904,6 +3906,7 @@ namespace XHWK.WKTool
3904 3906
                             {
3905 3907
                                 BtnRecord.IsEnabled = true;
3906 3908
                                 btnStop.IsEnabled = true;
3909
+                                btnScreenRecording.IsEnabled = true; 
3907 3910
                                 TxbRecordingWord.Text = "录制";
3908 3911
                                 txbType.Text = "";
3909 3912
                             });
@@ -3919,6 +3922,7 @@ namespace XHWK.WKTool
3919 3922
 
3920 3923
                         BtnRecord.IsEnabled = true;
3921 3924
                         btnStop.IsEnabled = true;
3925
+                        btnScreenRecording.IsEnabled = true;
3922 3926
                         TxbRecordingWord.Text = "录制";
3923 3927
                         txbType.Text = "";
3924 3928
                         MessageWindow.Show("录制时间过短,请重新录制!");

Loading…
Cancel
Save