General information
Title:
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only