How can I Show or Hide Form in VB.Net?
Posted on 2004-10-19
I had learned vb6 and just simple.
-My project contain 2 forms (Form1 and Form2)
-Form1 contain a Button named Button1
-I coded for the button when I click it, Form2 will Show
The code is that:
-When I closed form1, the whole project didn't stop until I close form2
But in VB.Net I tried to make like this but there is no show or hide method in the form. If I create instance for form2 then I can show it but every time I click button1 it will show one more form. It's not what I want. Also when I close form1 the whole project stop not like vb6.
So is there any suggestion to make it work like in vb6?