Latem
01-06-2004, 11:26 AM
I have a main form and on the form there is a button called "btnnext"
when the user clicks the button the current form is supposed to go invisible, and a new form called frmNext is supposed to be loaded and displayed.
Now I know how to do this in VB6.
It would be something like this (pseudocode):
On btnnext_clicked sub
currentform.visible=false
Load frmNext
frmNext.show()
end sub
My question is how are you supposed to do this in vb.net.
Ive looked all over the msdn, and cant find anything.
Ive found how to create a new form and display it (like Form newform as New Form, newform.show ), but not how to load a premade form and show it.
Please help,
thx
Latem
when the user clicks the button the current form is supposed to go invisible, and a new form called frmNext is supposed to be loaded and displayed.
Now I know how to do this in VB6.
It would be something like this (pseudocode):
On btnnext_clicked sub
currentform.visible=false
Load frmNext
frmNext.show()
end sub
My question is how are you supposed to do this in vb.net.
Ive looked all over the msdn, and cant find anything.
Ive found how to create a new form and display it (like Form newform as New Form, newform.show ), but not how to load a premade form and show it.
Please help,
thx
Latem