[Mono-list] MonoLOGO GTK# console not compiling

George Birbilis birbilis@kagi.com
Mon, 6 Sep 2004 10:15:50 +0300


it seems the "console" folder of MonoLOGO module is out-of-date, cause it
tries to use MonoLOGO features that don't exist anymore. I think I've fixed
those problems, but I still have a GTK+ problem that I can't fix (it uses
GTK# library for .NET):

* at "console-gtk.cs":

Window win = new Window ("MonoLOGO");

//win.DeleteEvent += new EventHandler(Window_Delete); //Birb: commented out

...

public static void Window_Delete (object obj, EventArgs args){

Application.Quit ();

}

I'm not familiar with Delegates or GTK#, does anyone know what's the problem
above?

the error (at the commented line above) says:

...\MonoLOGO\console\console-gtk.cs(13): Cannot implicitly convert type
'System.EventHandler' to 'Gtk.DeleteEventHandler'


I'm using VS.net 2003

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
George Birbilis <birbilis@kagi.com>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ QuickTime VCL and ActiveX controls (for PowerPoint/VB/Delphi etc.)
+ Plugs VCL and ActiveX controls (InterProcess/Internet communication)
+ TransFormations, VB6 forms to ASP.net WebForms convertion
http://www.kagi.com/birbilis
+ Robotics
http://www.mech.upatras.gr/~robgroup
........................................................................