GrapeCity.ActiveReports.v9 アセンブリ > GrapeCity.ActiveReports 名前空間 > SectionReport クラス : PrintProgress イベント |
'宣言 Public Event PrintProgress As EventHandler
public event EventHandler PrintProgress
private int x = 0; private void testLA_PrintProgress(object sender, System.EventArgs eArgs) { //Print Progress is triggered once per page printed. myWinForm.Label1.Text = "Now Printing Page " + x; x++; }
Private x As Integer = 0 Private Sub SectionReport1_PrintProgress(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.PrintProgress myWinForm.Label1.Text = "Now Printing Page " + x x = x + 1 End Sub