public static void NativeClickList <T>(this IMarshalWindow window, string name, int index) { Point p = window.GetListElementPosition <T>(name, index); MouseUtil.SendMouseLeftClick((int)p.X, (int)p.Y); }
public static void NativeClick <T>(this IMarshalWindow window, string name) { Point p = window.GetPosition <T>(name); MouseUtil.SendMouseLeftClick((int)p.X, (int)p.Y); }