PowerTools ActiveReports for .NET 9.0J
ReportEnd イベント
使用例 

レポートがすべてのページの処理を完了した後に発生します。
構文
'宣言
 
Public Event ReportEnd As EventHandler
public event 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
参照

関連項目

SectionReport クラス
SectionReport メンバ

 

 


©2003-2015 GrapeCity inc. All rights reserved.