I have encountered a problem in my application. I have two forms, one that is loaded when my application is started that asks for a password and other is shown when the user logs in with correct password.
How can I close the login form and have the user proceed to next form that is actual application?
Currently I hide the login form, but the requirement is to close the login form to prevent extra processing. However, when I close the login form my application exits and when I hide the login form but close the actual application form the login form remains open and prevents my application from closing because the login form is still running in background.
How can in fix this?