How would the Form know that it needed to throw an exception? As I said,
there is nothing intrinsically wrong with creating the Form and calling
Show() from the Timer thread. The 'no-return' behaviour you get is, I
guess, because a message pump is started when you create the first
window on a thread, and so it never comes back, not because it is a
thread pool thread.

So, essentially, it is all behaving correctly. Why would there be an
exception?

Matthew

-----Original Message-----
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
Jeff Roberts
Sent: 29 May 2002 15:09
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Modeless WinForms Bug

Mathew,

It sure would have saved me a lot of time if an exception had been
thrown !

jeff

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to