Overview
Events and event handlers provide a way for applications to respond to changes in the Map application. For example, opening a new project can fire an event handler to perform additional processing.
The API uses standard .NET mechanisms for handling events. Applications wanting to handle events subscribe to the events. When the event is fired all handlers subscribed to that event are called.
Event handlers accept two parameters:
- A reference to the object raising the event
- Event arguments
The class definition for the event arguments is usually specific to the event being handled.