Hello,
If I got your question right...
In Windows Forms apps, it is more advisable to install the global exception
handler as the handler for the Application.ThreadException event, as well as
for the AppDomain.UnhandledException event.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://www.x-unity.net/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"lzh_gladiator" <an*******@discussions.microsoft.com> wrote in message
news:2E**********************************@microsof t.com...
Hello Every one:
I am a begginner in C# programming,recentry i have met one
question,How do I try and catch Exception in the Main Method.It seems that
dot net do not wish to try and catch in the main method,but in each class
method. Does anyone have meet this question before? Thanks in advance!