Load a form to Tabcontrol
I want to load my customer form to a tabcontrol in c sharp
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Mar 17, 2011, 2:58 AM EDT
Form2 f2 = new Form2();
f2.TopLevel = false;
f2.Visible = true;
tabControl1.TabPages[0].Controls.Add(f2); // add to first tab page