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