Getting values from control to control to control

R

Rock

I have several controls -- a ucHeader, ucMenu, ucDetails, where ucMenu has a
drop down list.

I also have control ucMain, which contains controls ucHeader and ucMenu

frmMain contains ucMain, along with ucDetails
How do I get a value from ucMenu to ucDetails?

in ucMenu, I have a public event SelectedItemChanged, and a
public property SelectedItem. I can pull the value of the ucmenu drop down
list from ucMain when the user changes the value of the drop down list, but
how do I get the original value?

And is there a way to for ucDetails get these values directly from ucMenu or
do I have to go through the list: ucMenu is on ucMain so ucMain gets the
values, then since ucMain is on frmMain, frmMain can then get the values,
then maybe, just maybe, ucDetails can get the values from frmMain???
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top