Ver código fonte

zhao:优化

tags/录制修改前
耀 4 anos atrás
pai
commit
df93222fad

+ 2
- 2
Common/system/BlackboardNew.cs Ver arquivo

@@ -334,9 +334,9 @@ namespace Common.system
334 334
                         undoOrRedo += 1;
335 335
                         m_canvas.Strokes.Clear();
336 336
                     }
337
-                    StrokeCollection strokes = new StrokeCollection();
337
+                    //StrokeCollection strokes = new StrokeCollection();
338 338
                     StylusPointCollection stylusPoints = new StylusPointCollection();
339
-                    System.Windows.Input.StylusPointDescription stylusPointDescription = new StylusPointDescription();
339
+                    //System.Windows.Input.StylusPointDescription stylusPointDescription = new StylusPointDescription();
340 340
                     StylusPoint stylusPoint = new StylusPoint
341 341
                     {
342 342
                         X = 580,

+ 1
- 1
Common/system/FileToolsCommon.cs Ver arquivo

@@ -792,7 +792,7 @@ namespace Common.system
792 792
                     File.Delete(filePath);
793 793
                 }
794 794
             }
795
-            catch (Exception ex)
795
+            catch (Exception)
796 796
             {
797 797
 
798 798
             }

+ 1
- 1
Common/system/ImageHelper.cs Ver arquivo

@@ -440,7 +440,7 @@ namespace Common.system
440 440
                             bit.Dispose();
441 441
                         }))).Start();
442 442
                     }
443
-                    catch (Exception ex)
443
+                    catch (Exception)
444 444
                     {
445 445
 
446 446
                     }

+ 1
- 1
XHWK.WKTool/App.cs Ver arquivo

@@ -246,7 +246,7 @@ namespace XHWK.WKTool
246 246
                         Directory.Delete(AppDomain.CurrentDomain.BaseDirectory + "temp",true);
247 247
                     }
248 248
                 }
249
-                catch (Exception ex)
249
+                catch (Exception)
250 250
                 {
251 251
                 }
252 252
 

+ 1
- 1
XHWK.WKTool/ScreenRecordingToolbarWindow.xaml.cs Ver arquivo

@@ -977,7 +977,7 @@ namespace XHWK.WKTool
977 977
             }
978 978
             else
979 979
             {
980
-                string time = GetTimeStamp();
980
+                //string time = GetTimeStamp();
981 981
                 string tempPath = AppDomain.CurrentDomain.BaseDirectory + "temp\\";
982 982
                 if (!Directory.Exists(tempPath))
983 983
                 {

+ 1
- 10
XHWK.WKTool/XHMicroLessonSystemWindow.xaml.cs Ver arquivo

@@ -67,7 +67,7 @@ namespace XHWK.WKTool
67 67
         /// 笔迹粗细
68 68
         /// </summary>
69 69
         private int PenSize = 2;
70
-        private DispatcherTimer t = null;
70
+        //private DispatcherTimer t = null;
71 71
         /// <summary>
72 72
         /// 计时器状态
73 73
         /// </summary>
@@ -4923,15 +4923,6 @@ namespace XHWK.WKTool
4923 4923
             mouseDown = true;
4924 4924
         }
4925 4925
 
4926
-        private void Button_Click(object sender, RoutedEventArgs e)
4927
-        {
4928
-            System.Drawing.Size a = PrimaryScreen.DESKTOP;
4929
-            System.Drawing.Size b = PrimaryScreen.WorkingArea;
4930
-            int c = PrimaryScreen.DpiX;
4931
-            int d = PrimaryScreen.DpiY;
4932
-            float x = PrimaryScreen.ScaleX;
4933
-            float y = PrimaryScreen.ScaleY;
4934
-        }
4935 4926
         /// <summary>
4936 4927
         /// 点击标题栏 隐藏截图的四个点和线
4937 4928
         /// </summary>

Carregando…
Cancelar
Salvar