Information générale
Titre:
Grabbing Unhandled Exceptions in Winforms (C#)
I'm comfortable with try{}...catch{}.
I'd like to capture exceptions while running a winform window; I've been rifling through pages and pages of online documentation but I cannot seem to locate how to install my own exception handling for window forms.
Right now I get a popup window with the "Unhandle exception has occurred..." message.
How do hook into this and handle it with my own code, the try{}...catch{} in my main() does not do it.
Thank you in advance.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement