public UISettings GetWindowProperties() { UISettings settings = new UISettings(); settings.X = this.Main.DesktopLocation.X; settings.Y = this.Main.DesktopLocation.Y; settings.Width = this.Main.Width; settings.Height = this.Main.Height; settings.PingServers = this.Main.chkPing.Checked; settings.ShowOffline = this.Main.chkShowOffline.Checked; return settings; }
public void SetWindowProperties(UISettings settings) { this.Main.DesktopLocation = new Point(settings.X, settings.Y); this.Main.Width = settings.Width; this.Main.Height = settings.Height; }
public void SetWindowProperties(UISettings settings) { //throw new NotImplementedException(); }