Display Windows Form inside Tabpage
Is there a way to display Windows Form inside a tabpage of another Windows Form?
3 Answers
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
Scott LysleRank #49 · 31K reputationPosted Jan 7, 2009, 1:37 AM EST
tommy32 reputationPosted Jan 7, 2009, 3:07 PM EST
Hi again, I found the solution to this on another forum by using this.
Form2 frm = new Form2();frm.TopLevel = false;
frm.Visible = true;
frm.FormBorderStyle = FormBorderStyle.None;
frm.Dock = DockStyle.Fill;
tabControl1.TabPages[0].Controls.Add(frm);
Hope this helps someone else also.
Lalit Kumar Barik10 reputationPosted Jul 19, 2009, 10:45 PM EDT
Can anybody please help me.
Lalit Kumar Barik