lundi 30 mars 2015

Catching exceptions thrown from UserControl in parent Form?

I have a Form that extends some class that has special exception-handling logic to present any that arise to the user in a clean manner. That Form contains a custom UserControl that has the potential to throw Exceptions which, if unaddressed, aren't caught and rethrown by the parent Form, and therefore don't hit the special logic.


How can I hook things up so that my UserControl throws exceptions to my Form?


Aucun commentaire:

Enregistrer un commentaire