Can someone explain me how forms work in .NET,
how to open en close
thx
Printable View
Can someone explain me how forms work in .NET,
how to open en close
thx
Dear Six Feet, I think it's not possible to avoid of reading a manual on this subject, because there are a lot of particular you need to know and a post can't be enough...anyway:
Dim F1 as Form1
Declare F1 as a possible instance of the previous designed Form1
F1 = New Form1
Create the instance, initialize component of the form and so on
F1.Show
Open the form on the screen
F1.Hide
Hide the Form, but you can re-show it, when you need
To close and destroy the object, there are many point of views. Personally I use three lines of code
F1.Close
F1.Dispose
F1=Nothing
This is only a taste:)
You have to follow a good book to become experienced enough on using forms.
Good job and excuse me for my english and for always possible mistake.:)
Hi,
Look up any subject in the MSDN Help files and you will get very good tuition. If you then don't understand something, post a question here, but first do your best to find out from the many internet rescources. Do a google search on VB.NET and look at the educational sites. Several are either free or offer free sample courses.