diff --git a/BeDesignerSCADA/Helper/SystemHelper.cs b/BeDesignerSCADA/Helper/SystemHelper.cs index 45e9a2d7..b8466704 100644 --- a/BeDesignerSCADA/Helper/SystemHelper.cs +++ b/BeDesignerSCADA/Helper/SystemHelper.cs @@ -142,7 +142,6 @@ namespace BeDesignerSCADA.Helper private const int DBT_DEVICEREMOVECOMPLETE = 0x8004; //移除设备 public const int DBT_DEVTYP_PORT = 0x00000003; public const int DBT_DEVTYP_VOLUME = 0x00000002; - public IntPtr WndProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled) { if (msg == WM_DEVICECHANGE) @@ -217,8 +216,6 @@ namespace BeDesignerSCADA.Helper return drives[i]; return nona; } - - #endregion /// @@ -247,8 +244,6 @@ namespace BeDesignerSCADA.Helper scrollViewer.ScrollToHorizontalOffset(tarPos.X); } - private static Encoding gb2312 = Encoding.GetEncoding("GB2312"); - /// /// 汉字转全拼 ///