private void Form1_Load(object sender, EventArgs e)
{
Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(Application_ThreadException);
}
void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e)
{
System.Diagnostics.Debug.WriteLine(e.Exception.Message);
}
{
Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(Application_ThreadException);
}
void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e)
{
System.Diagnostics.Debug.WriteLine(e.Exception.Message);
}
0 件のコメント:
コメントを投稿