Form2 frm = new Form2(); //Or whatever your form is called frm.Show(this);
Form2 frm = new Form2(); //Or whatever your form is called frm.ShowDialog(this);
private void button1_Click(object sender, EventArgs e) { Form2 frm = new Form2(); frm.TopLevel = false; tabPage1.Controls.Add(frm); frm.Dock = DockStyle.Fill; frm.Show(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)