tags:

views:

24

answers:

1

We read here and there, event handler, event listener... event handler/listener... object handler... it's a mass confusion that a newbie like me can't tolerate.

Anyone to clarify this question: What is the difference, if any, between event handler and event listener ?

Thanks a lot, MEM

A: 

The event listener is basically a delegate that listens to the event. The delegate is used to write a handler if the programmer need to do something on a particular event. So for a particular event, the listener works as a trigger to trigger the actual handler code.

You can read about this here:

http://msdn.microsoft.com/en-us/library/aa645739%28VS.71%29.aspx

and

http://blog.monstuff.com/archives/000040.html

Kangkan