by creating two form
and a menu with toplevel (new,Window)
new contain-->new and close.
click on th main form and but the property ismdi container -->true
in the other form2 but a textbox with multiline property true;
click new twice
and then but this code
private void newToolStripMenuItem_Click(object sender, EventArgs e)
{
Form2 Obj = new Form2();
Obj.MdiParent = this;// u decalre the mdi parent that the main
form
Obj.Text = "Document" + i;
Obj.Show();
i++;
}
in windows contais-->vert ,horizontal,....
click on of them twice
but this code
private void horizontalToolStripMenuItem_Click(object sender, EventArgs e)
{
LayoutMdi(MdiLayout.TileHorizontal);
}
i hope that what u want