| Visual Basic (Declaration) | |
|---|---|
Public Delegate Sub PrintCancelledEventHandler( _ ByVal sender As Object, _ ByVal e As PrintCancelledEventArgs _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public delegate void PrintCancelledEventHandler( object sender, PrintCancelledEventArgs e ) | |
Parameters
- sender
- Object that raised the event
- e
- Object of PrintCancelledEventArgs class that contains event data
This example creates the PrintCancelled event.
| C# | Copy Code |
|---|---|
fpSpread1.PrintCancelled += new FarPoint.Win.Spread.PrintCancelledEventHandler(fpSpread1_PrintCancelled); | |
| Visual Basic | Copy Code |
|---|---|
Dim eh As FarPoint.Win.Spread.PrintCancelledEventHandler = AddressOf FpSpread1_PrintCancelled | |
For information on the event, refer to the FpSpread PrintCancelled event.