1
Answer

MDI

selvaraj

selvaraj

17y
1.5k
1
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.

Answers (1)