Pārlūkot izejas kodu

zhao:代码优化

tags/录制修改前
耀 pirms 4 gadiem
vecāks
revīzija
14b8d4502e

+ 2
- 2
Common/system/KeyboardHookCommon.cs Parādīt failu

@@ -156,8 +156,8 @@ namespace Common.system
156 156
 
157 157
             }
158 158
         }
159
-        //接收SetWindowsHookEx返回值  
160
-        private static int _hHookValue = 0;
159
+        ////接收SetWindowsHookEx返回值  
160
+        //private static int _hHookValue = 0;
161 161
         private int KeyboardHookProc(int nCode, int wParam, IntPtr lParam)
162 162
         {
163 163
             // 侦听键盘事件

+ 1
- 2
XHWK.WKTool/CountdownWindow.xaml.cs Parādīt failu

@@ -21,7 +21,6 @@ namespace XHWK.WKTool
21 21
         /// <summary>
22 22
         /// 计时器
23 23
         /// </summary>
24
-        private System.Timers.Timer timer;
25 24
         private int ImgNum = 21;
26 25
         public void Initialize(bool ShowlblShortcut = false, int changeTime = 2100)
27 26
         {
@@ -84,7 +83,7 @@ namespace XHWK.WKTool
84 83
             }
85 84
             else
86 85
             {
87
-                timer.Enabled = false;
86
+                //timer.Enabled = false;
88 87
                 Dispatcher.Invoke(
89 88
                   DispatcherPriority.Send,
90 89
                   new Action(() =>

+ 2
- 2
XHWK.WKTool/FileDirectoryWindow.xaml.cs Parādīt failu

@@ -49,7 +49,7 @@ namespace XHWK.WKTool
49 49
         public void Initialize()
50 50
         {
51 51
             APP.myloading.Show();
52
-            MouseNumber = 0;
52
+            //MouseNumber = 0;
53 53
             IsModify = false;
54 54
             //加载视频列表
55 55
             LoadingVideoList();
@@ -360,7 +360,7 @@ namespace XHWK.WKTool
360 360
             }
361 361
         }
362 362
 
363
-        private int MouseNumber = 0;
363
+        //private int MouseNumber = 0;
364 364
         /// <summary>
365 365
         /// 鼠标按下
366 366
         /// </summary>

+ 9
- 9
XHWK.WKTool/XHMicroLessonSystemWindow.xaml.cs Parādīt failu

@@ -48,12 +48,12 @@ namespace XHWK.WKTool
48 48
         //声明一个 DrawingAttributes 类型的变量  
49 49
         private DrawingAttributes drawingAttributes;
50 50
         private Model_Video VideoInfo = null;
51
-        //定义事件
52
-        public event ChangeTextHandler ChangeTextEvent;
51
+        ////定义事件
52
+        //public event ChangeTextHandler ChangeTextEvent;
53 53
         //定义委托
54 54
         public delegate void ChangeTextHandler(string text);
55 55
         //定义委托
56
-        public delegate void ChangeTextHandlers(string text, int i); 
56
+        public delegate void ChangeTextHandlers(string text, int i);
57 57
 
58 58
         /// <summary>
59 59
         /// 图片
@@ -1483,8 +1483,8 @@ namespace XHWK.WKTool
1483 1483
                 LogHelper.WriteErrLog("【加载视频列表】(LoadingVideoList)" + ex.Message, ex);
1484 1484
             }
1485 1485
         }
1486
-        //定义事件
1487
-        public event ChangeTextHandler ChangeTextEvents;
1486
+        ////定义事件
1487
+        //public event ChangeTextHandler ChangeTextEvents;
1488 1488
         /// <summary>
1489 1489
         /// 上传
1490 1490
         /// </summary>
@@ -3317,10 +3317,10 @@ namespace XHWK.WKTool
3317 3317
         /// </summary>
3318 3318
         private const int A4_HEIGHT = 7920;
3319 3319
 
3320
-        /// <summary>
3321
-        /// 画板
3322
-        /// </summary>
3323
-        private Graphics graphics;
3320
+        ///// <summary>
3321
+        ///// 画板
3322
+        ///// </summary>
3323
+        //private Graphics graphics;
3324 3324
 
3325 3325
         /// <summary>
3326 3326
         /// 笔画坐标数组

Notiek ielāde…
Atcelt
Saglabāt