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

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

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

            f.Show();
        }