Example #1
0
        public static bool GetOptions(out Option newOptions, Option option)
        {
            OptionND optionWindow = new OptionND(option);

            optionWindow.ShowDialog();
            newOptions = optionWindow.option;
            return(optionWindow.result);
        }
Example #2
0
        private void optionsToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            Option newOptions = new Option();

            if (!OptionND.GetOptions(out newOptions, options))
            {
                return;
            }
            options = newOptions;
        }