示例#1
0
        protected Point RenderItems(ReportPageEventArgs rpea)
        {
            base.SinglePage.IDataNavigator = this.dataNavigator;
            base.CurrentRow = this.dataNavigator.CurrentRow;

            ISimpleContainer container = PrintHelper.FindContainer(this.CurrentSection.Items);

            if (container != null)
            {
                return(RenderSectionWithSimpleContainer(this.CurrentSection, container,
                                                        new Point(CurrentSection.Location.X, CurrentSection.SectionOffset),
                                                        rpea));
            }
            else
            {
                return(base.RenderSection(rpea));
            }
        }