G
Guest
Hi,
I want to open up a number of child forms in my main mdi container form, but
I want the processing that will happen in each child to happen in a different
thread. I tried something like this:
ChildForm childForm = new ChildForm();
shildForm.MdiParent = this;
Thread thread = new Thread(new ThreadStart(childForm.Show));
thread.Start();
It workd fine for the first childForm, but the next one doesn't open up. It
just hangs. Is this how things are normally done or is there another way?
Thanks in advance.
I want to open up a number of child forms in my main mdi container form, but
I want the processing that will happen in each child to happen in a different
thread. I tried something like this:
ChildForm childForm = new ChildForm();
shildForm.MdiParent = this;
Thread thread = new Thread(new ThreadStart(childForm.Show));
thread.Start();
It workd fine for the first childForm, but the next one doesn't open up. It
just hangs. Is this how things are normally done or is there another way?
Thanks in advance.