<---Absolute n00b Please help me *[Resolved]*
All i am doing is trying to get my head around the new syntax for VERY simple things, such as moving between forms and then back again, i can go from form1 to form2 using this:
VB Code:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
finalize() 'or i could hide it with me.hide
form2.StartPosition = FormStartPosition.CenterScreen
form2.Show()
End Sub
but i want to be able to unload the form like the way you can in VB6 and then be able to open it again later so i can make a welcome page for example
Re: <---Absolute n00b Please help me
Quote:
Originally posted by breemer
All i am doing is trying to get my head around the new syntax for VERY simple things, such as moving between forms and then back again, i can go from form1 to form2 using this:
VB Code:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
finalize() 'or i could hide it with me.hide
form2.StartPosition = FormStartPosition.CenterScreen
form2.Show()
End Sub
but i want to be able to unload the form like the way you can in VB6 and then be able to open it again later so i can make a welcome page for example
in form1 on button click
dim f as new form2
Me.Hide
f.Show