public static Rectangle ClientTo(this Rectangle source, Point p)
 {
     return source.ClientTo(p.X, p.Y);
 }
 public static Rectangle ClientTo(this Rectangle source, Rectangle r)
 {
     return source.ClientTo(r.X, r.Y);
 }
Exemple #3
0
 public static Point ClientTo(this Point p1, Point p2)
 {
     return p1.ClientTo(p2.X, p2.Y);
 }