public static extern bool ScreenToClient(IntPtr hwnd, ref POINT pt);
public static int[] GetMousePosition() { POINT point = new POINT(); NativeMethods.GetCursorPos(ref point); return new int[] { point.X, point.Y }; }
public static extern bool GetCursorPos(ref POINT pt);