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
add_AutomationEnabledChanged(function(sender, e)) remove_AutomationEnabledChanged(function(sender, e))
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2