Hi, I'm Henokh Setiabudi form Indonesia. I have a little problem in project. I write program in C# windows application. I confuse on tab control use:? How to create tab control which accomodate same component ex.label and textbox programatically? (I want fill tabPage1 and next tabPage with same component)
Thanks for helping.
Loading
Zaw Thet AungPosted Jan 24, 2007, 2:48 AM
Button myButton = new Button();
myButton.Top = 100;
myButton.Left = 100;
TabControl1.TabPages[0].Controls.Add(myButton);
You can change the tabpage index to add to different tab pages.
I hope this help.