How to create global error handler in Windows Form Application?
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 throw new ArgumentNullException("playlist is empty"); How can I catch it globally? MSDN is your friend: http://msdn.microsoft.com/en-us/library/system.windows.forms.application.threadexception.aspx You can accomplish this either through AppDomain.UnhandledException or Application.ThreadException . See the documentation for more details on what these events do and what the difference is for these events. The idea is that AppDomain