コード例 #1
0
        private void settingsButton_Click(object sender, EventArgs e)
        {
            var d = new Dialogs.SettingsDialog(this);

            d.ShowDialog(); ApplyLauncherSettings();

            //Update controls
            UpdateToolsGroupBoxText();
        }
コード例 #2
0
        private void settingsButton_Click(object sender, EventArgs e)
        {
            var settingsDialog = new Dialogs.SettingsDialog();

            if (settingsDialog.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            ApplyLauncherSettings();
            UpdateToolsGroupBoxText();
        }