private void optionsToolStripMenuItem_Click(object sender, EventArgs e) { this.Enabled = false; var optionsWindow = new OptionsWindow(); optionsWindow.ShowDialog(); // _options = optionsWindow.ReceiveOptions(); this.Enabled = true; UpdateSettings(); }