Re: Inhereted usercontrol.
User controls obey exactly the same rules as any other classes and objects. If a member of the base class is private then it can't be accessed, otherwise it can. Of course, the Controls property of every control is public.
Re: Inhereted usercontrol.
Re: Inhereted usercontrol.
Soooo... what non-private members are there in the base class that expose those TextBoxes and Labels?
Re: Inhereted usercontrol.
I guess im not following this... and ill chalk that up to my very shakey understanding of oop in general.
this is what im seeing
http://i44.tinypic.com/j6or5z.jpg
i understand that the underlying user control has exposed public properties but im not sure how to make it look like this.
http://i39.tinypic.com/ear5zk.png
I understand the adding textboxes but how do i access the properties of the inherited usercontrol from the enveloping control?