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