Skip to content

MDI

selvaraj

Asked Jun 19, 2007, 3:39 AM EDT1 answer
Share
LinkedInX
Hi,

I have created a MDI form and wanted to add to form to it. A  list and a tree. I want the tree first and then the list. But it comes reverse. i have my code like this.

TreeForm vTreeForm=new TreeForm();

vTreeForm.MdiParent=this;

vTreeForm.SetUp(vID);

vTreeForm.Show();

List vList = new List();

vList.MdiParent = this;

vList.Show();

vTreeForm.Show();

this.Cursor=Cursors.Default;

this.LayoutMdi(System.Windows.Forms.MdiLayout.TileVertical);

Can any one tell me what i am doing wrong.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Mike Gold
    0
    If you are creating a tree and a list, wouldn't you be better off using a splitter window with the treeview and listview in separate panes of the split containers?  This will be more managable
    0