Beispiel #1
0
        private void optionsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form f = new FormUserOptions(iHelper.OptionPages);

            f.ShowDialog(this);
            f.Dispose();
        }
Beispiel #2
0
        private void MenuItemOptionsClick(object sender, EventArgs e)
        {
            FormUserOptions form = new FormUserOptions(iHelper.OptionPages);

            form.ShowDialog();
            form.Dispose();
        }
Beispiel #3
0
        private void ShowOptionsDialog()
        {
            FormUserOptions optionsDialog = new FormUserOptions(iHelper.OptionPages);

            optionsDialog.ShowDialog();
            optionsDialog.Dispose();
        }
Beispiel #4
0
        private void ShowOptionsDialog()
        {
            FormUserOptions options = new FormUserOptions(iHelper.OptionPages);

            options.Icon = iForm.Icon;
            options.ShowDialog();
            options.Dispose();
        }
Beispiel #5
0
        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;
        }