public override void Setup() { fBase = new BaseWindowStub(); fDialog = new OptionsDlg(AppHost.Instance); fDialog.Show(); }
private void tbOptions_Click(object sender, EventArgs e) { using (OptionsDlg dlgOptions = new OptionsDlg(AppHost.Instance)) { dlgOptions.SetPage(OptionsPage.opTreeChart); if (dlgOptions.ShowModal() == DialogResult.Ok) { AppHost.Instance.ApplyOptions(); } } }