Leadtools.Annotations Namespace > IAnnAutomationControl Interface : AutomationEnabledChanged Event |
event EventHandler AutomationEnabledChanged
'Declaration Event AutomationEnabledChanged As EventHandler
'Usage Dim instance As IAnnAutomationControl Dim handler As EventHandler AddHandler instance.AutomationEnabledChanged, handler
event EventHandler^ AutomationEnabledChanged
If your implementation does require enabling/disabling the automation, then you do not have to trigger this event from your code. When this event triggers, the automation object will query the IAnnAutomationControl.AutomationEnabled property and consequently starts or stops hooking the mouse and keyboard events.