public static void RightClick(this IUiElement uiElement) { InputSimulator.PostMessageMouseClickRight(uiElement.Rectangle.GetCenter()); }
public static void RightClick(this RectangleF rectangleF) { InputSimulator.PostMessageMouseClickRight(rectangleF.GetCenter()); }