Disasterpiece
Freshman
I have 2 forms - a Login Screen and the main program window.
When the user logs in, I hide the Login form and show the Main form.
My problem is this: When I click the close button in the top right corner on the main form, the Login form is still running (only it's hidden) . How do I get my entire program to close when I hit the X button on the main form?
Thanks
When the user logs in, I hide the Login form and show the Main form.
My problem is this: When I click the close button in the top right corner on the main form, the Login form is still running (only it's hidden) . How do I get my entire program to close when I hit the X button on the main form?
Thanks