|
@@ -605,7 +605,7 @@ namespace XHWK.WKTool
|
605
|
605
|
APP.W_XHMicroLessonSystemWindow = new XHMicroLessonSystemWindow();
|
606
|
606
|
}
|
607
|
607
|
APP.W_XHMicroLessonSystemWindow.InitializeKeyDownEvent();
|
608
|
|
- APP.W_XHMicroLessonSystemWindow.InitPen();
|
|
608
|
+ APP.W_XHMicroLessonSystemWindow.InitPen();
|
609
|
609
|
APP.W_XHMicroLessonSystemWindow.InitTQLPPen();
|
610
|
610
|
APP.W_XHMicroLessonSystemWindow.Show();
|
611
|
611
|
if (!IsFirstRS)
|
|
@@ -733,21 +733,27 @@ namespace XHWK.WKTool
|
733
|
733
|
Left = 0,
|
734
|
734
|
Top = 0
|
735
|
735
|
};
|
736
|
|
- //practiceWin.Owner = this;
|
737
|
|
- }
|
738
|
|
- //APP.W_PracticeWindow.InitPen();
|
739
|
|
- //APP.W_PracticeWindow.InitTQLPPen();
|
740
|
|
- APP.W_PracticeWindow.Initialize();// imagePath);
|
741
|
|
- flg = 11;
|
|
736
|
+ //practiceWin.Owner = this;
|
|
737
|
+ }
|
|
738
|
+ //APP.W_PracticeWindow.InitPen();
|
|
739
|
+ //APP.W_PracticeWindow.InitTQLPPen();
|
|
740
|
+ APP.W_PracticeWindow.Initialize();// imagePath);
|
|
741
|
+ APP.W_PracticeWindow.Focus();
|
|
742
|
+ flg = 11;
|
742
|
743
|
APP.W_PracticeWindow.Blue();
|
743
|
744
|
APP.W_PracticeWindow.Show();
|
744
|
745
|
});
|
745
|
746
|
new Thread(new ThreadStart(new Action(() =>
|
746
|
747
|
{
|
|
748
|
+ Dispatcher.Invoke(() =>
|
|
749
|
+ {
|
|
750
|
+ APP.W_PracticeWindow.Topmost = true;
|
|
751
|
+ });
|
747
|
752
|
Thread.Sleep(100);
|
748
|
753
|
Dispatcher.Invoke(() =>
|
749
|
754
|
{
|
750
|
|
- Owner = APP.W_PracticeWindow;
|
|
755
|
+ APP.W_PracticeWindow.Topmost = false;
|
|
756
|
+ //Owner = APP.W_PracticeWindow;
|
751
|
757
|
Topmost = true;
|
752
|
758
|
});
|
753
|
759
|
}))).Start();
|
|
@@ -1366,7 +1372,7 @@ namespace XHWK.WKTool
|
1366
|
1372
|
|
1367
|
1373
|
private void gridToobarTwo_MouseLeave(object sender, System.Windows.Input.MouseEventArgs e)
|
1368
|
1374
|
{
|
1369
|
|
- if(BtnRecordingScreen.ToolTip.ToString().Equals ("暂停")&& gridToobar.Visibility == Visibility.Visible)
|
|
1375
|
+ if (BtnRecordingScreen.ToolTip.ToString().Equals("暂停") && gridToobar.Visibility == Visibility.Visible)
|
1370
|
1376
|
{
|
1371
|
1377
|
if (APP.IsHideSRTool)
|
1372
|
1378
|
{
|