Esempio n. 1
0
        public void SetFilter()
        {
            using (TreeFilterDlg dlgFilter = new TreeFilterDlg(fBase)) {
                dlgFilter.Filter = fTreeBox.Model.Filter;

                if (dlgFilter.ShowDialog() == DialogResult.OK)
                {
                    GenChart();
                }
            }
        }
Esempio n. 2
0
        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();
        }