public void DrawRectangle(Rect r) { DrawRectangle (r.Left, r.Top, r.Right, r.Bottom); }
static extern bool GetWindowRect(IntPtr hwnd, out Rect lpRect);
public static extern bool GetClientRect(IntPtr hWnd, out Rect lpRect);
public bool Equals (Rect r) { return r.Left == Left && r.Top == Top && r.Right == Right && r.Bottom == Bottom; }