Beispiel #1
0
        private void notifyIcon_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            FormSetting f = FormSetting.GetInstance();

            f.Show();
            f.ChangeSelectedTabToModeTab();
            f.Activate();
        }
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 settingToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormSetting f = FormSetting.GetInstance();

            if (f.Visible == true)
            {
                f.Show();
            }
            else
            {
                f.ShowDialog();
            }
            f.Activate();
        }
Beispiel #5
0
        private void FormSetting_FormClosed(object sender, FormClosedEventArgs e)
        {
            dialogue = null;

            if (!CheckRules(txtAutoExtRule.Text))
            {
                chkAutoExtSwitch.Checked = false;
            }
            Set();
            Properties.Settings.Default.Save();

            // Refresh settings
            AppCopyFilter.GetInstance().RefreshSettings();
        }