A method that will handle the PdfViewer.FileAttachmentOpening event.
public delegate void PdfFileAttachmentOpeningEventHandler( object sender, PdfFileAttachmentOpeningEventArgs e );
Public Delegate Sub PdfFileAttachmentOpeningEventHandler( sender As Object, e As PdfFileAttachmentOpeningEventArgs )
A Object value, specifying the event sender.
A PdfFileAttachmentOpeningEventArgs object that contains data related to the event.
When creating a PdfFileAttachmentOpeningEventHandler delegate, identify a method that will handle corresponding events.
To associate an event with an event handler, add a delegate instance to the event.
The event handler is called whenever the event occurs, unless the delegate is removed.
To learn more, see the Events and Delegates topic in MSDN.