public static Point ToPoint(this UI.Point size) { return(new Point((int)size.X, (int)size.Y)); }
public void SetLocation(UI.Point location, Size size) { base.Width = (int)size.Width; base.Height = (int)size.Height; Location = location.ToPoint(); }
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); }