private void btnSettings_Click(object sender, EventArgs e) { Form f = FormSetting.GetInstance(); f.ShowDialog(); f.Focus(); }
public static FormSetting GetInstance() { if (dialogue == null) { dialogue = new FormSetting(); } return(dialogue); }
private void FormSetting_FormClosed(object sender, FormClosedEventArgs e) { dialogue = null; if (!CheckRules(txtAutoExtRule.Text)) { chkAutoExtSwitch.Checked = false; } Set(); Properties.Settings.Default.Save(); }
private void btnSettings_Click(object sender, EventArgs e) { Form f = new FormSetting(); f.Show(); }