Ejemplo n.º 1
0
 public static Point ToPoint(this UI.Point size)
 {
     return(new Point((int)size.X, (int)size.Y));
 }
Ejemplo n.º 2
0
 public void SetLocation(UI.Point location, Size size)
 {
     base.Width  = (int)size.Width;
     base.Height = (int)size.Height;
     Location    = location.ToPoint();
 }
Ejemplo n.º 3
0
 public void SetLocation(UI.Point location, Size size)
 {
     Width    = (int)size.Width;
     Height   = (int)size.Height;
     Location = new Point((int)location.X, (int)location.Y);
 }