Adds a delegate to a component.
public void addEventHandler( Object component, Delegate value )
component
The component on which the delegate will receive events.
value
A com.ms.lang.Delegate object that encapsulates the handling method and object.
This method invokes the component's addOn<EventName> method to add the specified delegate.
See Also removeEventHandler