Hi,

I created a user control and added it to a tab page.
If I add the tab page to the tab control using the resource editor it works.

Now I want to add the page at runtime using the following code:
Code:
TabPage myPage = new TabPage ("MyPage")
this.myTabControl.TabPages.Add (myPage)
This code adds the page to the tab control but without the user control. So the page is empty.

Can you help ?

Thanks.