16
Answers

Access One User Control From Another User Control

Anthony

Anthony

14y
10k
1
I have a form, form1, that I have placed two user controls on, uc1 and uc2.  Displaying a user control from code in the form is simple, uc1.Show().  My question is, how do I display one user control from code within another user control, i.e. uc2.Show() called from uc1 does not work.  I have been doing some reading on delegates and events, but I am having a difficult time finding a good example.  Any help would be appreciated.
Answers (16)