public static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect);
 public static extern bool GetClientRect(IntPtr hWnd, out RECT lpRect);