Example #1
0
        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");
        }
Example #2
0
File: Form2.cs Project: dioptre/nkd
        public Form2(string filterString)
        {
            r = new ReportStub();
            r.FilterString = filterString;
            InitializeComponent();

            r.CreateDocument();

            printControl1.PrintingSystem = r.PrintingSystem;
        }
Example #3
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 #4
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 #5
0
        public Form2(string filterString)
        {
            r = new ReportStub();
            r.FilterString = filterString;
            InitializeComponent();

            r.CreateDocument();

            printControl1.PrintingSystem = r.PrintingSystem;
        }
Example #6
0
        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");
        }