/// <summary> /// Mouse down. /// </summary> /// <param name="obj">IUIObject.</param> /// <param name="type">Mouse button type.</param> /// <param name="clientX">Client x coordinates from obj.</param> /// <param name="clientY">Client y coordinates from obj.</param> public static void MouseDown(this IUIObject obj, MouseButtonType type, int clientX, int clientY) => UIObjectMouseEmulator.MouseDown(obj, type, clientX, clientY);
/// <summary> /// Mouse down. /// </summary> /// <param name="obj">IUIObject.</param> /// <param name="type">Mouse button type.</param> /// <param name="clientLocation">Client coordinates from obj.</param> public static void MouseDown(this IUIObject obj, MouseButtonType type, Point?clientLocation = null) => UIObjectMouseEmulator.MouseDown(obj, type, clientLocation);