Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grabbing Unhandled Exceptions in Winforms (C#)
Message
 
À
12/03/2008 15:12:30
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01301455
Message ID:
01301523
Vues:
14
Mike, Thank you and I appreciate your trying to help me.

Can someone help me with catching an exception on a form in c#? For instance, a button click causes an error, I want a base error handler layer to catch it (I do not want to put try{}...catch{} in every button on a form.

This has nothing to do with my main(); there isn't a specific problem either.

I just want to put my own error handler in place of the default Visual Studio's popup window (which has the Details, Continue and Quit buttons).

Thank you in advance.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform