Example #1
0
 private void button_ok_Click(object sender, EventArgs e)
 {
     if (Crypt.CheckKeyFNameLen(textBox_fnamekey.Text))
     {
         SaveFromControls();
         SaveSetting.CreateSettings(o);
         this.DialogResult = DialogResult.OK;
     }
     else
     {
         this.DialogResult = DialogResult.None;
     }
 }