views:

245

answers:

1

Hi all

I have an MDI parent form that creates many MDI children at run time. Is there a smart way to evenly ditribute these forms inside there parent? any ideas?

Thanks in advance!!

+2  A: 
**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 start

Tzury Bar Yochay