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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top