vacío privado Form1_Load (remitente del objeto, EventArgs e)
{
Form2 frm2 = nuevo Form2 ();
frm2.TopLevel = falso;
frm2.Dock = DockStyle.Fill;
frm2.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
panel1.Controls.Add (frm2);
frm2.Show ();
}
|