public static Point GetCursorPosition() { var point = new NativeMethods.NativePoint(); NativeMethods.GetCursorPos(ref point); return(new Point(point.X, point.Y)); }
public static Point GetCursorPosition() { var point = new NativeMethods.NativePoint(); NativeMethods.GetCursorPos(ref point); return new Point(point.X, point.Y); }