Beispiel #1
0
        public static Rectangle ClientToScreenRect(IntPtr handle, Rectangle rect)
        {
            Point topLeft = WindowWrapper.ClientToScreenPoint(handle, rect.X, rect.Y);

            return(new Rectangle(topLeft, rect.Size));
        }
Beispiel #2
0
 public static Point ClientToScreenPoint(IntPtr handle, Point pt)
 {
     return(WindowWrapper.ClientToScreenPoint(handle, pt.X, pt.Y));
 }