public static extern void mouse_event(MouseeEventFlag flags, int dx, int dy, uint data, UIntPtr extrainfo);
/// <summary> /// 鼠标键的模拟事件 /// </summary> private void MouseEvent(MouseeEventFlag flag, int localX, int localY, uint data) { mouse_event(flag, localX, localY, data, UIntPtr.Zero); }