示例#1
0
 /// <summary>
 /// 点击
 /// </summary>
 public static void Click()
 {
     User32Api.mouse_event(DwFlags.MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
     Thread.Sleep(100);
     User32Api.mouse_event(DwFlags.MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
 }