events handeling

  • Thread starter Thread starter juli
  • Start date Start date
J

juli

Hello!
I would like to know how exactly I should build event,handler to it
and to deal with event occurence? (classes,function ,etc..)
Thank you very much for your help.
 
Juli,

To a degree, you don't have a choice, your method that is the event
handler has to have the same signature as the delegate exposed by the event.

However, whether to make the class static or an instance class, that's
up to you. You have do decide based on what the event handler needs access
to in your program.

Hope this helps.
 
Back
Top