/// <summary> /// Simulates Right 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 RightMouseButtonUp(int x = 0, int y = 0, int millisecondClickDelay = 0) { RightMouseButtonInput.RightMouseButtonUp(x, y, millisecondClickDelay); }
/// <summary> /// Simulates right 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 RightMouseButtonClick(int x = 0, int y = 0, int millisecondClickDelay = 0, int numberOfClicks = 1) { RightMouseButtonInput.RightMouseButtonClick(x, y, millisecondClickDelay, numberOfClicks); }