private mouse_event ( uint dwFlags, uint dx, uint dy, uint dwData, int dwExtraInfo ) : void | ||
dwFlags | uint | |
dx | uint | |
dy | uint | |
dwData | uint | |
dwExtraInfo | int | |
return | void |
public void ScrollVertically(int units) { MousePInvoke.mouse_event((uint)MouseEventFlags.MOUSEEVENTF_WHEEL, 0, 0, (uint)units, 0); }
public void MouseLeftUp() { MousePInvoke.mouse_event((uint)MouseEventFlags.LEFTUP, 0, 0, 0, 0); }
public void MouseLeftDown() { MousePInvoke.mouse_event((uint)MouseEventFlags.LEFTDOWN, 0, 0, 0, 0); }
public void MouseMiddleClick() { MousePInvoke.mouse_event((uint)MouseEventFlags.MIDDLEDOWN, 0, 0, 0, 0); MousePInvoke.mouse_event((uint)MouseEventFlags.MIDDLEUP, 0, 0, 0, 0); }
public void MouseRightClick() { MousePInvoke.mouse_event((uint)MouseEventFlags.RIGHTDOWN, 0, 0, 0, 0); MousePInvoke.mouse_event((uint)MouseEventFlags.RIGHTUP, 0, 0, 0, 0); }
public void MouseLeftClick() { MousePInvoke.mouse_event((uint)MouseEventFlags.LEFTDOWN, 0, 0, 0, 0); MousePInvoke.mouse_event((uint)MouseEventFlags.LEFTUP, 0, 0, 0, 0); }