for ex. on my form1 i have this procedure, and in the middle part of that procedure i have to call form2 to show.
and on my form2 i have this button and when i clicked that it returns back to where it was called. i have some code to make it clear..
im still a newbie that is why have to ask this.
thanks for your help.
and on my form2 i have this button and when i clicked that it returns back to where it was called. i have some code to make it clear..
VB.NET:
Public Class Form1
Private Sub Button1_Click
dim myForm as new Form2
...
myForm.Show()
...
'after clicking that buton on Form2 it should return here
...
End Sub
End Class
Public Class Form2
Private Sub Button1_Click
...
'a code here that return to button1_click on Form1
...
End Sub
End Class
im still a newbie that is why have to ask this.
thanks for your help.