Method AddHandler
AddHandler(TEventSource, string, EventHandler<TEventArgs>)
Add a handler for the given source's event.
public static void AddHandler(TEventSource source, string eventName, EventHandler<TEventArgs> handler)
Parameters
source
TEventSourceeventName
stringhandler
EventHandler<TEventArgs>