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

Christopher Nehren apeiron+usenet at coitusmentis.info
Wed Jun 8 16:36:08 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?

// ShowFormAndSleep.cs ^© 2001 by Charles Petzold
using System.Threading;
using System.Windows.Forms;

class ShowFormAndSleep
        public static void Main()
                Form form = new Form();



                form.Text = "My First Form";


I'm running Mono 1.1.7, the latest S.W.F.dll as of about 2:30 PM EST
today, and libgdiplus 1.1.7.

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