An event handler in C# is a delegate with the following signature:
public delegate void MyEventHandler(object sender, MyEventArgs e)
The argument sender
specifies the object
that fired the event. The argument e
holds data
that can be used in the event handler. The class MyEventArgs
is
derived from the .NET Framework class EventArgs
. MATLAB® only
handles events with this standard signature.