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 ReportDesigner() { InitializeComponent(); //XtraReport1 report = new XtraReport1(); report = new ReportStub(new ReportStub.DataProvider()) { DataAdapter = null }; //report.DataSourceSchema = "C:\\temp\\myDataSourceSchema.xml"; this.xrDesignPanel1.OpenReport(report); //report.DataSourceSchema = File.ReadAllText("C:\\temp\\myDataSourceSchema.xml"); }
public Form2(string filterString) { r = new ReportStub(); r.FilterString = filterString; InitializeComponent(); r.CreateDocument(); printControl1.PrintingSystem = r.PrintingSystem; }