Beispiel #1
0
        private void btnSettings_Click(object sender, EventArgs e)
        {
            Form f = FormSetting.GetInstance();

            f.ShowDialog();
            f.Focus();
        }
Beispiel #2
0
 public static FormSetting GetInstance()
 {
     if (dialogue == null)
     {
         dialogue = new FormSetting();
     }
     return(dialogue);
 }
Beispiel #3
0
        private void FormSetting_FormClosed(object sender, FormClosedEventArgs e)
        {
            dialogue = null;

            if (!CheckRules(txtAutoExtRule.Text))
            {
                chkAutoExtSwitch.Checked = false;
            }
            Set();
            Properties.Settings.Default.Save();
        }
Beispiel #4
0
        private void btnSettings_Click(object sender, EventArgs e)
        {
            Form f = new FormSetting();

            f.Show();
        }