public void Run(IPresent ip, Row row) { if (OwnerReport.Subreport != null) { return; // don't process page headers for sub-reports } Report rpt = ip.Report(); rpt.TotalPages = rpt.PageNumber = 1; ip.PageHeaderStart(this); if (_ReportItems != null) { _ReportItems.Run(ip, row); } ip.PageHeaderEnd(this); }
internal void Run(IPresent ip, Row row) { if (OwnerReport.Subreport != null) return; // don't process page headers for sub-reports Report rpt = ip.Report(); rpt.TotalPages = rpt.PageNumber = 1; ip.PageHeaderStart(this); if (_ReportItems != null) _ReportItems.Run(ip, row); ip.PageHeaderEnd(this); }