Exemplo n.º 1
0
        public override void Setup()
        {
            fBase = new BaseWindowStub();

            fDialog = new OptionsDlg(AppHost.Instance);
            fDialog.Show();
        }
Exemplo n.º 2
0
 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();
         }
     }
 }