Exemplo n.º 1
0
        public void HandleStructureChangedEvent(UIA.IUIAutomationElement sender, interop.UIAutomationCore.StructureChangeType changeType, int[] runtimeId)
        {
            var senderElement    = new Element(Automation, sender);
            var externChangeType = (StructureChangeType)changeType;

            _callAction(senderElement, externChangeType, runtimeId);
        }
        public void HandleStructureChangedEvent(UIA.IUIAutomationElement sender, UIA.StructureChangeType changeType, int[] runtimeId)
        {
            var basicAutomationElement = new UIA3BasicAutomationElement((UIA3Automation)Automation, sender);
            var senderElement          = new AutomationElement(basicAutomationElement);

            HandleStructureChangedEvent(senderElement, (StructureChangeType)changeType, runtimeId);
        }