fyf 2 years ago
parent
commit
c0d7968734
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      BeDesignerSCADA/Helper/SystemHelper.cs

+ 0
- 5
BeDesignerSCADA/Helper/SystemHelper.cs View File

@@ -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

/// <summary>
@@ -247,8 +244,6 @@ namespace BeDesignerSCADA.Helper
scrollViewer.ScrollToHorizontalOffset(tarPos.X);
}

private static Encoding gb2312 = Encoding.GetEncoding("GB2312");

/// <summary>
/// 汉字转全拼
/// </summary>


Loading…
Cancel
Save