示例#1
0
 public static IDisposable SubscribeToFocusChangedEvent(AutomationFocusChangedEventHandler handler)
 {
     return(Subscribe.ToFocusChangedEvent(handler));
 }
示例#2
0
 public static IDisposable SubscribeToEvent(this AutomationElement element, AutomationEvent automationEvent, TreeScope treeScope, AutomationEventHandler handler)
 {
     return(Subscribe.ToEvent(element, automationEvent, treeScope, handler));
 }
示例#3
0
 public static IDisposable SubscribeToStructureChangedEvent(this AutomationElement element, TreeScope treeScope, StructureChangedEventHandler handler)
 {
     return(Subscribe.ToStructureChangedEvent(element, treeScope, handler));
 }