Beispiel #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)
 {
     LeftMouseButtonInput.LeftMouseButtonUp(x, y, millisecondClickDelay);
 }
Beispiel #2
0
 /// <summary>
 /// Simulates left mouse button click
 /// </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>
 /// <param name="numberOfClicks">Number of clicks</param>
 public static void LeftMouseButtonClick(int x = 0, int y = 0, int millisecondClickDelay = 0, int numberOfClicks = 1)
 {
     LeftMouseButtonInput.LeftMouseButtonClick(x, y, millisecondClickDelay, numberOfClicks);
 }