Represents the method that will handle the Changed event.
| C# | Visual Basic |
public delegate void ChangeEventHandler( Object sender, ChangeEventArgs args )
Public Delegate Sub ChangeEventHandler ( _ sender As Object, _ args As ChangeEventArgs _ )
- sender (Object)
- args (ChangeEventArgs)
When you create a ChangeEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.