예제 #1
0
        public override void Setup()
        {
            fBase = new BaseWindowStub();

            fDialog = new OptionsDlg(AppHost.Instance);
            fDialog.Show();
        }
예제 #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();
         }
     }
 }