Cascade the MDI forms of a Splitter panel
Posted
by BDotA
on Stack Overflow
See other posts from Stack Overflow
or by BDotA
Published on 2010-06-15T18:54:49Z
Indexed on
2010/06/15
20:22 UTC
Read the original article
Hit count: 300
I am showing my MDI windows inside the main form but in one part of the splitter panel, like this:
Form2 f2= new Form2();
f2.MdiParent = this;
f2.Parent = this.splitContainer2.Panel2;
f2.Show();
but the problem is that I cannot cascade them if I write a code like this:
this.LayoutMdi(System.Windows.Forms.MdiLayout.Cascade);
"this" is the parent form. the main form.
Hoe can I cascade them?
thanks all.
© Stack Overflow or respective owner