GrapeCity.ActiveReports.v8 Assembly > GrapeCity.ActiveReports Namespace > SectionReport Class : ReportEnd Event |
'Declaration Public Event ReportEnd As System.EventHandler
public event System.EventHandler ReportEnd
private void rptMain_ReportEnd(object sender, System.EventArgs eArgs) { rptBookmarks rpt = new rptBookmarks(); rpt.pBM = this.Document.Bookmarks; rpt.Run(); this.Document.Pages.InsertRange(this.Document.Pages.Count, rpt.Document.Pages); }
Private Sub rptMain_ReportEnd(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportEnd Dim rpt As New rptBookmarks() rpt.pBM = Me.Document.Bookmarks rpt.Run() Me.Document.Pages.InsertRange(Me.Document.Pages.Count, rpt.Document.Pages) End Sub