Matias,
It isn't really possible. What you would have to do is keep a record of
when the method is used for an event handler by overriding the event itself
to store when a method is used and even then, you can't override types
beyond your control to get that functionality.
What exactly are you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Matias Szulman" <ma****@nospam.orkon.com> wrote in message
news:Oj**************@tk2msftngp13.phx.gbl...
Hi!
I need to know if an event (i.e. button1_click) has an eventhandler
associated. Is this possible in c#?
Thanks,
Matias