Hello every one....
When you have 2 forms(form1_form2) and you have button in form1 then you type this code
This code will open form2 and keep form1 active
My problem is how i can write code that when i press button which on form1 the form2 will be open and form1 will be closed
When you have 2 forms(form1_form2) and you have button in form1 then you type this code
PHP Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Form2.ShowDialog()
End Sub
My problem is how i can write code that when i press button which on form1 the form2 will be open and form1 will be closed