Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » WindowsForms.net   (RSS)
When closing your application from code, for example in the File | Exit menu you should use Form.Close() (ie this.Close() or Me.Close) opposed to Application.Exit(). When calling Application.Exit everything is told to stop immediately and then the appplication Read More...
When an exception occurs is thrown in your application, but is never caught the application ends up crashing. Not exactly a user friendly application. So that you can better handle these unhandled exceptions and at the minimum close the application gracefully Read More...
 
Page view tracker