static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e) { APG.CodeHelper.ExceptionHandler.ExceptionHandler.HandleApplicationException(sender, e.Exception); }