CNCGUI.MainForm.Application_UnhandledException C# (CSharp) 메소드

Application_UnhandledException() 개인적인 정적인 메소드

private static Application_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
sender object
e UnhandledExceptionEventArgs
리턴 void
        private static void Application_UnhandledException(object sender, UnhandledExceptionEventArgs e)
        {
            if (e.ExceptionObject != null)
            {
                Exception ex = (Exception)e.ExceptionObject;
                MessageBox.Show(ex.Message, "Application exception");
            }
        }