//Form1 button click code F = new Form2(); panel1.Controls.Add(F); F.Dock = DockStyle.Fill; F.BringToFront(); F.Show(); //Form2 code this.TopLevel = false;//Form Load this.TextBox textbox1= new Textbox(); textbox1.text = "Hello";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)