Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Load New Form, close old form

$
0
0

I have a login form. When a user clicks the login button I want to open a new form and close the login form although when I do this Visual Studios stops debugging and closes all forms.

How do I keep it in debug, close the login form and open the new form. I tried Me.Hide() and Me.Close().

Me.Close() closed everything and Me.Hide() hid the login form but then when I closed the new form the process was still attached to the hidden form.

any ideas?

thanks

j


Viewing all articles
Browse latest Browse all 12583

Trending Articles



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