Hello, I'm a recent member here at dreamincode and a recent programmer.
I have been looking into this problem and it could be me just being paranoid. I have multiple forms, frm_login, which is a log in page, then frm_true, which is if the password and username are correct, the program will go to that form. The code I have for this to switch forms is:
The only problem with this is that when I go to debug the program, get into frm_true, and try to close it, the form closes, but the program is still running because we never closed frm_login. What would be the correct code in which to fix this problem? Or is it something to not worry about?
Thanks in advance!
/>/>
I have been looking into this problem and it could be me just being paranoid. I have multiple forms, frm_login, which is a log in page, then frm_true, which is if the password and username are correct, the program will go to that form. The code I have for this to switch forms is:
frm_true.Show() Me.Hide()
The only problem with this is that when I go to debug the program, get into frm_true, and try to close it, the form closes, but the program is still running because we never closed frm_login. What would be the correct code in which to fix this problem? Or is it something to not worry about?
Thanks in advance!