G
Guest
Hello all,
Wonder what approach is used for this problem.
I have a MDIApplication, the MDIClinets are to be in a seperate thread.
So I've done something like this,
// Create a new Show method that starts a new thread
public new void Show()
{
Thread t = new Thread(new ThreadStart(ThreadProc));
t.Start();
}
public void ThreadProc()
{
base.Show();
}
Now my problem is that I basically don't have a run loop, so as soon as the
Form shows the thread exits and I'm pretty much left in the soup.
I'm sure other people have done this in .NET?
Any ideas suggestions etc?
Thanks for you time
Brian Keating.
Wonder what approach is used for this problem.
I have a MDIApplication, the MDIClinets are to be in a seperate thread.
So I've done something like this,
// Create a new Show method that starts a new thread
public new void Show()
{
Thread t = new Thread(new ThreadStart(ThreadProc));
t.Start();
}
public void ThreadProc()
{
base.Show();
}
Now my problem is that I basically don't have a run loop, so as soon as the
Form shows the thread exits and I'm pretty much left in the soup.
I'm sure other people have done this in .NET?
Any ideas suggestions etc?
Thanks for you time
Brian Keating.