//多线程异常 static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) { ComShowExecption_Frm.ShowException((Exception)e.ExceptionObject); }
void App_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e) { ComShowExecption_Frm.ShowException((Exception)e.Exception); }