try changing from:

   window1.DefaultSize = new Size(200, 150);

to:

   window1.DefaultSize = new System.Drawing.Size(200, 150);

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paul Paximadis
Sent: Thursday, March 27, 2003 2:33 PM
To: [EMAIL PROTECTED]
Subject: [Mono-list] Error compiling GTK# Program


Sorry forgot the attachment

When I try and compile the following program( attached ).
I get the following error

C:\mono-0.23>mcs -r gtk-sharp basic_form.cs
basic_form.cs(36) error CS0246: Cannot find type `Size'
Compilation failed: 1 error(s), 0 warnings

Thanks in advance
Paul

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to