private void btnOptions_Click(object sender, EventArgs e) { Options = Options ?? ProjectSelectorHandler.GetDefaultProjectOptions(); OptionForm form = new OptionForm(this.ProjectSelectorHandler, Options); form.OptionSaved += new OptionControl.OptionEventHandler((option) => Options = option); form.ShowDialog(this); }