windows.forms handlers

  • Thread starter Thread starter LILkillaBEE aka Nikola
  • Start date Start date
L

LILkillaBEE aka Nikola

is there possibility to get a list of functions, those which handles some
windows.forms event?

exp:
tBox.Validating += new CancelEventHandler(tBox_Validating);

can i know somehow that validating event have handler and maybe which one?

thx
 
Hi Nikola,

No it is not possible. At least not easy. Controls doesn't have delegate
fields for each and any event they expose. They keep a table and create
delegates when the event is hooked. That's why even with reflection is not
easy to get that info.
 

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