private void crystalReportViewer1_Load(object sender, EventArgs e) { if (report == null) report = new TrailerReportALL(); crystalReportViewer1.ReportSource = report; crystalReportViewer1.Refresh(); }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { TrailerReportALL rpt = new TrailerReportALL(); rpt.Site = this.Site; return rpt; }