Handling Unhandled Exceptions from Winforms components in WPF

前端 未结 1 355
醉话见心
醉话见心 2020-12-31 14:37

My application is built in WPF but it includes some WinForms components that we have written. When an exception is unhandled in one of the WinForms components it crashes the

相关标签:
1条回答
  • 2020-12-31 15:19

    Have you tried System.Windows.Forms.Application.ThreadException and System.Windows.Forms.Application.SetUnhandledExceptionMode ?

    0 讨论(0)
提交回复
热议问题