public void GetSettings(ref AppSettings i_AppSettings)
 {
     i_AppSettings.LastWindowLocation = this.Location;
     i_AppSettings.LastWindowSize     = this.Size;
     i_AppSettings.RememberUser       = this.checkBoxRememberMe.Checked;
 }
 public void SetSettings(AppSettings i_AppSettings)
 {
     this.Size     = i_AppSettings.LastWindowSize;
     this.Location = i_AppSettings.LastWindowLocation;
     this.checkBoxRememberMe.Checked = i_AppSettings.RememberUser;
 }