bool isAttached = Debugger.IsAttached;
if (!isAttached)
{
Application.ThreadException += new ThreadExceptionEventHandler(Program.Application_ThreadException);
}
try
{
Program.Go(args);
}
catch (Exception exception1)
{
Exception exception = exception1;
Program.ProcessException(exception);
}
No comments:
Post a Comment