public static Size GetSize(this RECT rect) { return(new Size(rect.GetWidth(), rect.GetHeight())); }
public static Rectangle ToRectangle(this RECT r) { return(new Rectangle(r.left, r.top, r.GetWidth(), r.GetHeight())); }