Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 public void SetWindowProperties(UISettings settings)
 {
     this.Main.DesktopLocation = new Point(settings.X, settings.Y);
     this.Main.Width = settings.Width;
     this.Main.Height = settings.Height;
 }
Ejemplo n.º 3
0
 public void SetWindowProperties(UISettings settings)
 {
     //throw new NotImplementedException();
 }