Browse Source

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

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

Loading…
Cancel
Save