[Mono-winforms-list] Re: Problem with Form.Show() and Thread.Sleep()

Christopher Nehren apeiron+usenet at coitusmentis.info
Wed Jun 8 19:34:02 EDT 2005


On 2005-06-08, Kornél Pál scribbled these
curious markings:
> I have tried the code you sent on Windows using .NET Framework and Mono as
> well. It worked but creating a window without a message queue will lead to
> an unresponsive window.

As a matter of fact, that's precisely the point of that example. There's
several examples following it which fix the problem (though I have
problems with those, too). I would imagine that it's a problem with my
setup if it's not failing in the proper way, yes? I'm trying to learn
WinForms with Mono, and it's difficult if I don't see the same thing the
author describes.

> You should use only the following line in Main:
>
> Application.Run(new Form());

Yep, that's mentioned as well.

Best Regards,
Christopher Nehren
-- 
I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated". -- Ken Thompson
If you ask the wrong people questions, you get "Joel on Software".
Unix is user friendly. However, it isn't idiot friendly.



More information about the Mono-winforms-list mailing list