How to create global error handler in Windows Form Application?

前端 未结 3 1087
醉梦人生
醉梦人生 2021-02-09 15:09

I think there was a component that allowed to create global error handling.

For example I myself throw exception when something bad happens, for example

         


        
3条回答
  •  旧时难觅i
    2021-02-09 15:46

    MSDN is your friend: http://msdn.microsoft.com/en-us/library/system.windows.forms.application.threadexception.aspx

提交回复
热议问题