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