private void settingsButton_Click(object sender, EventArgs e) { var d = new Dialogs.SettingsDialog(this); d.ShowDialog(); ApplyLauncherSettings(); //Update controls UpdateToolsGroupBoxText(); }
private void settingsButton_Click(object sender, EventArgs e) { var settingsDialog = new Dialogs.SettingsDialog(); if (settingsDialog.ShowDialog() != DialogResult.OK) { return; } ApplyLauncherSettings(); UpdateToolsGroupBoxText(); }