Distribution of MDI Children in Parent MDI

I have an MDI parent form that creates many MDI children at runtime. Is there a sane way to distribute these shapes evenly within the parent? any ideas?

Thanks in advance!

+2


source to share


1 answer


**ArrangeIcons**     child window icons are arranged within the parent
**Cascade**          arrange the child windows within the parent window in a cascaded fashion
**TileHorizontal**   tile the child windows horizontally
**TileVertical**     tile the child windows vertically


//Cascade all child forms.        
this.LayoutMdi(System.Windows.Forms.MdiLayout.Cascade);

      



have a look at http://www.codeproject.com/KB/cs/mdiformstutorial.aspx for a run

+3


source







All Articles