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

Kornél Pál kornelpal at hotmail.com
Wed Jun 8 18:04:29 EDT 2005


> I'm trying to follow the examples in Charles Petzold's "Programming
> Windows with C#", but this code doesn't show any windows on my system.
> Anyone have any ideas why I don't see anything?

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.

You should use only the following line in Main:

Application.Run(new Form());

Kornél



More information about the Mono-winforms-list mailing list