Exemplo n.º 1
0
 /// <summary>
 /// Mouse click.
 /// </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 Click(this IUIObject obj, MouseButtonType type, int clientX, int clientY)
 => UIObjectMouseEmulator.Click(obj, type, clientX, clientY);
Exemplo n.º 2
0
 /// <summary>
 /// Mouse click.
 /// </summary>
 /// <param name="obj">IUIObject.</param>
 /// <param name="type">Mouse button type.</param>
 /// <param name="clientLocation">Client coordinates from obj.</param>
 public static void Click(this IUIObject obj, MouseButtonType type = MouseButtonType.Left, Point?clientLocation = null)
 => UIObjectMouseEmulator.Click(obj, type, clientLocation);