Example #1
0
        public FilterForm(string criteria)
        {
            InitializeComponent();
            report = new ReportStub();
            report.FilterString = criteria;
            report.CreateDocument();

            this.filterControl1.SourceControl = ReportStub.DataProvider.ReportAssaysResult().Tables[0];
            this.filterControl1.FilterString = criteria;
        }
Example #2
0
        public Form2(string filterString)
        {
            r = new ReportStub();
            r.FilterString = filterString;
            InitializeComponent();
            
            r.CreateDocument();
            
            printControl1.PrintingSystem = r.PrintingSystem;

        }