coolislandsurf
Member
- Joined
- Mar 28, 2005
- Messages
- 17
- Programming Experience
- Beginner
Hi everyone,
I have an mdi form which on load is going to load other mdi child forms as follows:
however, the problem is that in the Load method of Form1 for eg... i am doing a lot of things and it takes some time to actually see the MdiParent form.
So how can i invoke this form1 on a separate thread please??? I want to first see the MdiParent load then see the child form loads...whereas now i have to wait for the MdiChild to finish processing then the MdiParent will load.
Please help.
Thanks,
Kevin
I have an mdi form which on load is going to load other mdi child forms as follows:
VB.NET:
...FrmMain_Load(object sender, System.EventArgs e)
{
Form1 oForm1 = new Form1();
oForm1.MdiParent = this;
oForm1.Show();
Form2 oForm2 = new Form2();
oForm2.MdiParent = this;
oForm2.Show();
}
however, the problem is that in the Load method of Form1 for eg... i am doing a lot of things and it takes some time to actually see the MdiParent form.
So how can i invoke this form1 on a separate thread please??? I want to first see the MdiParent load then see the child form loads...whereas now i have to wait for the MdiChild to finish processing then the MdiParent will load.
Please help.
Thanks,
Kevin