Beispiel #1
0
        public void AddAutomationEventHandler(AutomationEvent eventId,
                                              IElement element,
                                              TreeScope scope,
                                              AutomationEventHandler eventHandler)
        {
            AutomationEventHandlerData data = new AutomationEventHandlerData(
                eventId, element, scope, eventHandler);

            automationEventHandlers.Add(data);
        }
Beispiel #2
0
		public void AddAutomationEventHandler (AutomationEvent eventId,
		                                       IElement element,
		                                       TreeScope scope,
		                                       AutomationEventHandler eventHandler)
		{
			AutomationEventHandlerData data = new AutomationEventHandlerData (
				eventId, element, scope, eventHandler);
			automationEventHandlers.Add (data);
		}