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