Calling an Event from Another Form...?

pad

Member
Joined
Jan 18, 2005
Messages
14
Programming Experience
5-10
Hi...

I would like to call call an event from another form. Is it Possible in VB.Net...?
As well as calling the event in the same form also possible...?

I'm loading a second form from first form. I'm doing some work in the second form. Closing the second form there itself (me.close). Now i'll be first form.
while coming to first form Which event will activate in the First form...?

Give me the details...

Thanks in advance...
 

mzim

Well-known member
Joined
Jun 3, 2004
Messages
187
Location
Other side of the rock
Programming Experience
1-3
pad said:
Hi...

I would like to call call an event from another form. Is it Possible in VB.Net...?
As well as calling the event in the same form also possible...?

I'm loading a second form from first form. I'm doing some work in the second form. Closing the second form there itself (me.close). Now i'll be first form.
while coming to first form Which event will activate in the First form...?

Give me the details...

Thanks in advance...

when you back to the first form...

the event activated are triggered.
VB.NET:
Private Sub Form1_Activated(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Activated

	End Sub
 
Top Bottom