Hello, im trying to create a main menu for my game im creating using multiple forms and a button on each form to switch, i manage to get the forms to switch back and forth but when switching to the form that the game is displayed on, the key presses im using to control the avatar stop working (and continue to not function even when the main menu form is removed, resulting in me having to load a back up copy), here is the code im using in each button click.
Dim SecondForm As New Form1
SecondForm.Show()
Me.Hide
Dim SecondForm As New Form2
SecondForm.Show()
SecondForm.Show()
Me.Hide
Dim SecondForm As New Form2
SecondForm.Show()
Me.Hide