Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27201

VS 2010 Open new form close current form

$
0
0
What is the correct way to close a window please? I've been using
Code:

close()
some people tell me this is the wrong way to do it.

Others said

Code:

Use Form1.Show()
Me.Hide()

or

Code:

Me.Hide instead of close
What is the correct procedure for opening a new form when clicking a button and making sure the previous one closes?

Thank you.

Viewing all articles
Browse latest Browse all 27201

Trending Articles



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