Esempio n. 1
0
 //-------------------------------------------------------------------------------
 #region tsmiConfigValue_Click
 //-------------------------------------------------------------------------------
 //
 private void tsmiConfigValue_Click(object sender, EventArgs e)
 {
     using (FrmConfigValue frm = new FrmConfigValue()) {
         frm.ValueData = _settings.ValueData;
         if (frm.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
         {
             _settings.Save(SETTINGS_FILENAME);
         }
     }
 }
Esempio n. 2
0
 //-------------------------------------------------------------------------------
 #region tsmiConfigValue_Click
 //-------------------------------------------------------------------------------
 //
 private void tsmiConfigValue_Click(object sender, EventArgs e)
 {
     using (FrmConfigValue frm = new FrmConfigValue()) {
         frm.ValueData = _settings.ValueData;
         if (frm.ShowDialog(this) == System.Windows.Forms.DialogResult.OK) {
             _settings.Save(SETTINGS_FILENAME);
         }
     }
 }