|
@@ -104,7 +104,7 @@ namespace XHWK.WKTool
|
104
|
104
|
Thread.Sleep(100);
|
105
|
105
|
Dispatcher.Invoke(() =>
|
106
|
106
|
{
|
107
|
|
- Owner = APP.W_PracticeWindow;
|
|
107
|
+ //Owner = APP.W_PracticeWindow;
|
108
|
108
|
Topmost = true;
|
109
|
109
|
});
|
110
|
110
|
}))).Start();
|
|
@@ -672,6 +672,7 @@ namespace XHWK.WKTool
|
672
|
672
|
float DIPY = graphics.DpiY;
|
673
|
673
|
APP.W_ScreenRecordingToolbarWindow.Left = PrimaryScreen.WorkingArea.Width / (DIP / 96) - APP.W_ScreenRecordingToolbarWindow.Width + 10;
|
674
|
674
|
gridToobar.Visibility = Visibility.Visible;
|
|
675
|
+ APP.W_ScreenRecordingToolbarWindow.Topmost = true;
|
675
|
676
|
}
|
676
|
677
|
#endregion
|
677
|
678
|
|
|
@@ -738,21 +739,23 @@ namespace XHWK.WKTool
|
738
|
739
|
//APP.W_PracticeWindow.InitPen();
|
739
|
740
|
//APP.W_PracticeWindow.InitTQLPPen();
|
740
|
741
|
APP.W_PracticeWindow.Initialize();// imagePath);
|
741
|
|
- APP.W_PracticeWindow.Focus();
|
742
|
742
|
flg = 11;
|
743
|
743
|
APP.W_PracticeWindow.Blue();
|
744
|
744
|
APP.W_PracticeWindow.Show();
|
|
745
|
+ APP.W_PracticeWindow.Topmost = true;
|
|
746
|
+ APP.W_PracticeWindow.Focus();
|
745
|
747
|
});
|
|
748
|
+
|
|
749
|
+
|
746
|
750
|
new Thread(new ThreadStart(new Action(() =>
|
747
|
751
|
{
|
748
|
752
|
Dispatcher.Invoke(() =>
|
749
|
753
|
{
|
750
|
|
- APP.W_PracticeWindow.Topmost = true;
|
|
754
|
+ APP.W_PracticeWindow.Topmost = false;
|
751
|
755
|
});
|
752
|
|
- Thread.Sleep(100);
|
|
756
|
+ Thread.Sleep(500);
|
753
|
757
|
Dispatcher.Invoke(() =>
|
754
|
758
|
{
|
755
|
|
- APP.W_PracticeWindow.Topmost = false;
|
756
|
759
|
//Owner = APP.W_PracticeWindow;
|
757
|
760
|
Topmost = true;
|
758
|
761
|
});
|
|
@@ -856,7 +859,7 @@ namespace XHWK.WKTool
|
856
|
859
|
Thread.Sleep(100);
|
857
|
860
|
Dispatcher.Invoke(() =>
|
858
|
861
|
{
|
859
|
|
- Owner = APP.W_PracticeWindow;
|
|
862
|
+ //Owner = APP.W_PracticeWindow;
|
860
|
863
|
Topmost = true;
|
861
|
864
|
});
|
862
|
865
|
}))).Start();
|
|
@@ -1164,7 +1167,7 @@ namespace XHWK.WKTool
|
1164
|
1167
|
Thread.Sleep(100);
|
1165
|
1168
|
Dispatcher.Invoke(() =>
|
1166
|
1169
|
{
|
1167
|
|
- Owner = APP.W_PracticeWindow;
|
|
1170
|
+ //Owner = APP.W_PracticeWindow;
|
1168
|
1171
|
Topmost = true;
|
1169
|
1172
|
});
|
1170
|
1173
|
}))).Start();
|