예제 #1
0
 /// <summary>
 /// Simulates Left Mouse Button Up event.
 /// </summary>
 /// <param name="x">
 /// X cursor position. (If X = 0 or Y = 0 the click will be at current coordinates.)
 /// </param>
 /// <param name="y">
 /// Y cursor position. (If X = 0 or Y = 0 the click will be at current coordinates.)
 /// </param>
 /// <param name="millisecondClickDelay">Delay between clicks.</param>
 public static void LeftMouseButtonUp(int x = 0, int y = 0, int millisecondClickDelay = 0)
 {
     MouseInputChecks.CheckMouseInputCoordinates(MouseKeyFlags.MOUSEEVENTF_LEFTUP, x, y, millisecondClickDelay);
 }
 /// <summary>
 /// Simulates Middle Mouse Button Down event.
 /// </summary>
 /// <param name="x">
 /// X cursor position. (If X = 0 or Y = 0 the click will be at current coordinates.)
 /// </param>
 /// <param name="y">
 /// Y cursor position. (If X = 0 or Y = 0 the click will be at current coordinates.)
 /// </param>
 /// <param name="millisecondClickDelay">Delay between clicks.</param>
 public static void MiddleMouseButtonDown(int x = 0, int y = 0, int millisecondClickDelay = 0)
 {
     MouseInputChecks.CheckMouseInputCoordinates(MouseKeyFlags.MOUSEEVENTF_MIDDLEDOWN, x, y, millisecondClickDelay);
 }