public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CRInvoice rpt = new CRInvoice(); rpt.Site = this.Site; return(rpt); }
private void PreviewInvoice_Load(object sender, EventArgs e) { CRInvoice crInvoince = new CRInvoice(); crystalReportViewer1.ReportSource = crInvoince; }