/// <summary> /// Simulates Middle 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 MiddleMouseButtonUp(int x = 0, int y = 0, int millisecondClickDelay = 0) { MiddleMouseButtonInput.MiddleMouseButtonUp(x, y, millisecondClickDelay); }
/// <summary> /// Simulates middle 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 MiddleMouseButtonClick(int x = 0, int y = 0, int millisecondClickDelay = 0, int numberOfClicks = 1) { MiddleMouseButtonInput.MiddleMouseButtonClick(x, y, millisecondClickDelay, numberOfClicks); }