I need to exit the application when the user clicks the close button.but what is happening in my project is that only when the user clicks the close button of login form(which is the startup form) application exists.But when user closes other forms project is in running mode.it does not breaks....how to solve this problem..PlZ help me.......