How to unregister all event handlers from another class?

  • Thread starter Thread starter Joanne
  • Start date Start date
J

Joanne

Hi,



I would like to optimize my PPC code.



I want to unregister all the event handlers of one class/form from another
class/form. Is there some way to set all registrations to null? I know I can
do -= but my second class doesn't know the handler names of the class who's
handlers it's trying to deregister.
 

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