예제 #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));
 }