public static Rectangle ClientToScreenRect(IntPtr handle, Rectangle rect) { Point topLeft = WindowWrapper.ClientToScreenPoint(handle, rect.X, rect.Y); return(new Rectangle(topLeft, rect.Size)); }
public static Point ClientToScreenPoint(IntPtr handle, Point pt) { return(WindowWrapper.ClientToScreenPoint(handle, pt.X, pt.Y)); }