public void SetFilter() { using (TreeFilterDlg dlgFilter = new TreeFilterDlg(fBase)) { dlgFilter.Filter = fTreeBox.Model.Filter; if (dlgFilter.ShowDialog() == DialogResult.OK) { GenChart(); } } }
public override void Setup() { WFAppHost.ConfigureBootstrap(false); fBase = new BaseWindowStub(); fContext = fBase.Context; fChartFilter = new ChartFilter(); fDialog = new TreeFilterDlg(fBase); fDialog.Filter = fChartFilter; fDialog.Show(); }