private void optionsToolStripMenuItem_Click(object sender, EventArgs e) { Form f = new FormUserOptions(iHelper.OptionPages); f.ShowDialog(this); f.Dispose(); }
private void MenuItemOptionsClick(object sender, EventArgs e) { FormUserOptions form = new FormUserOptions(iHelper.OptionPages); form.ShowDialog(); form.Dispose(); }
private void ShowOptionsDialog() { FormUserOptions optionsDialog = new FormUserOptions(iHelper.OptionPages); optionsDialog.ShowDialog(); optionsDialog.Dispose(); }
private void ShowOptionsDialog() { FormUserOptions options = new FormUserOptions(iHelper.OptionPages); options.Icon = iForm.Icon; options.ShowDialog(); options.Dispose(); }
private void ShowOptionsDialog() { // add a new stack status change handler while the options page is visible // leave the default one so the balloon tips still appear iHelper.Stack.EventStatusChanged += iHelper.Stack.StatusHandler.StackStatusOptionsChanged; // show the dialog FormUserOptions form = new FormUserOptions(iHelper.OptionPages); form.Icon = iHelper.Icon; form.ShowDialog(); // cleanup form.Dispose(); iHelper.Stack.EventStatusChanged -= iHelper.Stack.StatusHandler.StackStatusOptionsChanged; }