예제 #1
0
        public static Point GetCursorPosition()
        {
            var point = new NativeMethods.NativePoint();

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