I want to add a form inside a tab , I already tried using the "this.tabPage1.Controls.Add (new form1);" and it did not work, how to proceed?
I want to add a form inside a tab , I already tried using the "this.tabPage1.Controls.Add (new form1);" and it did not work, how to proceed?
This is not possible, Form
is a window, and a window is the one that is bigger in a desktop application GUI, so it does not have something smaller, a tab, to incorporate something bigger.
You should plan content in a way that fits inside the flap. In fact, it does not take much, everything that would put in Form
put within Tab
.