public static extern bool GetWindowRect(IntPtr hwnd, ref RECT rect);
public static extern bool GetClientRect(IntPtr hwnd, ref RECT rect);