public void HandleStructureChangedEvent(Interop.UIAutomationClient.IUIAutomationElement sender, Interop.UIAutomationClient.StructureChangeType changeType, int[] runtimeId) { var basicAutomationElement = new UIA3BasicAutomationElement((UIA3Automation)this.Automation, sender); var senderElement = new AutomationElement(basicAutomationElement); this.HandleStructureChangedEvent(senderElement, (StructureChangeType)changeType, 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); }
public void HandleFocusChangedEvent(UIA.IUIAutomationElement sender) { var basicAutomationElement = new UIA3BasicAutomationElement((UIA3Automation)Automation, sender); var senderElement = new AutomationElement(basicAutomationElement); HandleFocusChangedEvent(senderElement); }
public void HandleFocusChangedEvent(Interop.UIAutomationClient.IUIAutomationElement sender) { var basicAutomationElement = new UIA3BasicAutomationElement((UIA3Automation)this.Automation, sender); var senderElement = new AutomationElement(basicAutomationElement); this.HandleFocusChangedEvent(senderElement); }
public void HandlePropertyChangedEvent(UIA.IUIAutomationElement sender, int propertyId, object newValue) { var basicAutomationElement = new UIA3BasicAutomationElement((UIA3Automation)Automation, sender); var senderElement = new AutomationElement(basicAutomationElement); var property = PropertyId.Find(AutomationType.UIA3, propertyId); HandlePropertyChangedEvent(senderElement, property, newValue); }
public void HandleAutomationEvent(UIA.IUIAutomationElement sender, int eventId) { var basicAutomationElement = new UIA3BasicAutomationElement((UIA3Automation)Automation, sender); var senderElement = new AutomationElement(basicAutomationElement); var @event = EventId.Find(AutomationType.UIA3, eventId); HandleAutomationEvent(senderElement, @event); }
public void HandlePropertyChangedEvent(Interop.UIAutomationClient.IUIAutomationElement sender, int propertyId, object newValue) { var basicAutomationElement = new UIA3BasicAutomationElement((UIA3Automation)this.Automation, sender); var senderElement = new AutomationElement(basicAutomationElement); var property = PropertyId.Find(propertyId); this.HandlePropertyChangedEvent(senderElement, property, newValue); }
public void HandleAutomationEvent(Interop.UIAutomationClient.IUIAutomationElement sender, int eventId) { var basicAutomationElement = new UIA3BasicAutomationElement((UIA3Automation)this.Automation, sender); var senderElement = new AutomationElement(basicAutomationElement); var @event = EventId.Find(eventId); this.HandleAutomationEvent(senderElement, @event); }