load a form to Tabcontrol
I want to load my customer form to a tabcontrol in c sharp
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Mar 17, 2011, 6:58 AM
Form2 f2 = new Form2();
f2.TopLevel = false;
f2.Visible = true;
tabControl1.TabPages[0].Controls.Add(f2); // add to first tab page