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; }
public Form2(string filterString) { r = new ReportStub(); r.FilterString = filterString; InitializeComponent(); r.CreateDocument(); printControl1.PrintingSystem = r.PrintingSystem; }