public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { Report_Payroll_MPF_HSBCCover_Cht rpt = new Report_Payroll_MPF_HSBCCover_Cht(); rpt.Site = this.Site; return(rpt); }
public override ReportDocument GenerateReport() { if (reportDocument == null) { if (reportCultureInfo.Name.Equals("zh-cht", StringComparison.CurrentCultureIgnoreCase)) { reportDocument = new ReportTemplate.Report_Payroll_MPF_HSBCCover_Cht(); } else { reportDocument = new ReportTemplate.Report_Payroll_MPF_HSBCCover(); } } else { } return(base.GenerateReport()); }