public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { ReportTrainImportExport rpt = new ReportTrainImportExport(); rpt.Site = this.Site; return(rpt); }
public FrmPreviewReport(ReportTrainImportExport report) { InitializeComponent(); crystalReportViewer1.ReportSource = report; }