ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports Namespace / SectionReport Class / PrintAborted Event
Example

In This Topic
    PrintAborted Event (SectionReport)
    In This Topic
    Raised when the user cancels a print job.
    Syntax
    'Declaration
     
    Public Event PrintAborted As EventHandler
    public event EventHandler PrintAborted
    Example
    private void SectionReport1_PrintAborted(object sender, System.EventArgs eArgs)
    {
        System.Windows.Forms.MessageBox.Show("Printing has been aborted.");
    }
    Private Sub SectionReport1_PrintAborted(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.PrintAborted
        MessageBox.Show("Printing has been aborted.")
    End Sub
    See Also