public override void ProcessPrintAll(ReportHelper reportHelper) { CommonReportLandscapeA4 report = new CommonReportLandscapeA4(); report.IsHandlePersonVisible = false; report.IsManagerVisible = false; reportHelper.Create(report); reportHelper.AddHeaderBottomInfo(_Condition); base.Print(reportHelper); MessageDisplay.Info(MessageDisplay.MSG_PRINT); }
protected override ResultStatus Print(ReportHelper reportHelper) { _ReportHelper = reportHelper; CommonReportPortraitA4 report = new CommonReportPortraitA4(); _ReportHelper.IsHandlePersonVisible = true; _ReportHelper.IsManagerVisible = true; _ReportHelper.Create(report); _ReportHelper.AddHeaderBottomInfo("設定作業項目權限:" + ddlTxnId.EditValue.AsString()); base.Print(_ReportHelper); return(ResultStatus.Success); }