private void notifyIcon_MouseDoubleClick(object sender, MouseEventArgs e) { FormSetting f = FormSetting.GetInstance(); f.Show(); f.ChangeSelectedTabToModeTab(); f.Activate(); }
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 settingToolStripMenuItem_Click(object sender, EventArgs e) { FormSetting f = FormSetting.GetInstance(); if (f.Visible == true) { f.Show(); } else { f.ShowDialog(); } f.Activate(); }
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(); }