public static extern bool InvalidateRect(IntPtr hWnd, ref RECT lpRect, bool bErase);
public static extern bool GetWindowRect(IntPtr hwnd, ref RECT rect);