Browse Source

Merge remote-tracking branch 'origin/zhangxueyang' into zyy

解决冲突
# Conflicts:
#	XHWK.WKTool/ScreenRecordingToolbarWindow.xaml.cs
tags/录制修改前
耀 3 years ago
parent
commit
f88979ac81
1 changed files with 10 additions and 7 deletions
  1. 10
    7
      XHWK.WKTool/ScreenRecordingToolbarWindow.xaml.cs

+ 10
- 7
XHWK.WKTool/ScreenRecordingToolbarWindow.xaml.cs View File

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

Loading…
Cancel
Save