Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Multiple Forms Switching Problem, Closing Second Form Keeps App Open.

$
0
0
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:
 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! :gunsmilie:/>/>

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>