Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Raising and handling events in 2 independant forms.

Status
Not open for further replies.

steve1rm

Programmer
Aug 26, 2006
255
GB
Hello,

VS 2005

Passing data using events between child and parent is not difficult. But how would you handle a event from another form that didn't create instance of that form.

For example. form1, form2, form3.

form1 open form2.
form2 open form3.

How can you handle an event in form1 which has been raised in form3? The 2 are independent of each other, as form1 doesn't have an object for form3.

I have a button on form3 that when pressed should pass some data to form1.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top