Exemplo n.º 1
0
 public void GetSettings(ref AppSettings i_AppSettings)
 {
     i_AppSettings.LastWindowLocation = this.Location;
     i_AppSettings.LastWindowSize     = this.Size;
     i_AppSettings.RememberUser       = this.checkBoxRememberMe.Checked;
 }
Exemplo n.º 2
0
 public void SetSettings(AppSettings i_AppSettings)
 {
     this.Size     = i_AppSettings.LastWindowSize;
     this.Location = i_AppSettings.LastWindowLocation;
     this.checkBoxRememberMe.Checked = i_AppSettings.RememberUser;
 }