Thanks - just needed to add "Using System.Drawing" I get the following warnings when running the exe.
(<unknown>:7192): Gtk-WARNING **: GModule initialization check failed: Gtk+ version too old (minor mismatch) ** (<unknown>:7192): WARNING **: Failed to load library libgobject-2.0.so.dll (l ibgobject-2.0.so): The specified module could not be found. ** (<unknown>:7192): WARNING **: Failed to load library libgobject-2.0.so.dll (l ibgobject-2.0.so): The specified module could not be found. ** (<unknown>:7192): WARNING **: Failed to load library libgtksharpglue.so.dll ( libgtksharpglue.so): The specified module could not be found. ** (<unknown>:7192): WARNING **: Failed to load library libgtksharpglue.so.dll ( libgtksharpglue.so): The specified module could not be found. Would getting the latest GTK#/mono from cvs solve that? Thanks Paul -----Original Message----- From: Daniel Morgan [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 21:46 To: Paul Paximadis; [EMAIL PROTECTED] Subject: RE: [Mono-list] Error compiling GTK# Program 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
