I ve created my own control(containing tabcontrol) and added it to the panel.
How to access now that tabcontrol and add tha tabpages in the constructor of
my mainform???

Re: windows user controls by Stoitcho

Stoitcho
Thu Dec 08 12:22:25 CST 2005

M,
You should provide your own properties for accessing internal controls.
Alternatively in the user control in design you can make all control's
members public; the same can be done in property grid modifying control's
*Modifier* prperty.


--
HTH
Stoitcho Goutsev (100) [C# MVP]


"M." <M.@discussions.microsoft.com> wrote in message
news:A2C6B8D1-D084-4536-A7DB-364D7767D9F1@microsoft.com...
>I ve created my own control(containing tabcontrol) and added it to the
>panel.
> How to access now that tabcontrol and add tha tabpages in the constructor
> of
> my mainform???