コード例 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CRInvoice rpt = new CRInvoice();

            rpt.Site = this.Site;
            return(rpt);
        }
コード例 #2
0
        private void PreviewInvoice_Load(object sender, EventArgs e)
        {
            CRInvoice crInvoince = new CRInvoice();

            crystalReportViewer1.ReportSource = crInvoince;
        }