Table of contentsNo headers
The command sets up the event handlers used by the FeatureInspector to respond to changes in the active documents.
The command does the following:
- Calls the RegisterEventCommand method of the Commands class. This method accesses the static Instance property of the EventRegister class. This property will create a new instance of EventRegister if one does not already exist.
- Calls the RegisterEvents method of EventRegister. This loops through all open documents and adds an event handler for when features are selected or unselected. It also adds event handlers to respond to when documents are created, destroyed, or activated, or when the application is shutting down.