public SettingsConfig(dmUserInfo uiInfo)
     : this()
 {
     userInfo = uiInfo;
     this.checkBox1.Checked = userInfo.ConfirmOverwrite;
     this.checkBox4.Checked = userInfo.ShowStartupDialog;
     this.checkBox2.Checked = userInfo.BreakAfterFirstError;
     this.textBox1.Text     = uiInfo.DateTimeFormat;
     radioButton2.Checked   = !userInfo.LogBookOnlyWhenValuesChanged;
     radioButton1.Checked   = userInfo.LogBookOnlyWhenValuesChanged;
 }
Exemple #2
0
 public void SetUserInfo(dmUserInfo uiItem)
 {
     this.userInfo = uiItem;
 }