private void optionsToolStripMenuItem1_Click(object sender, EventArgs e) { OptionsDialog dialog = new OptionsDialog(); dialog.ShowDialog(this); // apply options if (Options.ShowInTaskBar != this.ShowInTaskbar) { this.ShowInTaskbar = !this.ShowInTaskbar; } setupReloadTimer(); }
public OptionsDialog() { InitializeComponent(); currentInstance = this; }