[Gtk-sharp-list] Hello World help

Fabian Vargas favosys@express.net.co
Mon, 11 Nov 2002 13:41:36 -0500


Hi Johannes
I'm sorry but your suggestion didn't work, I got the msg:
---
# mcs -r gtk-sharp -r glib-sharp hola.cs
hola.cs(15) error CS0123: Method 'void Window_Delete (object,
GtkSharp.DeleteEventArgs)' does not match delegate 'void System.EventHandler
(object, System.EventArgs)'

Compilation failed: 1 error(s), 0 warnings

---
do you know what could have happened?

Fabian
----- Original Message -----
From: "Guenther Roith" <groith@tcrz.net>
To: "Fabian Vargas" <favosys@express.net.co>; "Gtk# List"
<gtk-sharp-list@ximian.com>
Sent: Monday, November 11, 2002 11:49 AM
Subject: Re: [Gtk-sharp-list] Hello World help


> Hello!
>
> This is the wrong solution.
> Keep the + and instead, change line
>
> static void Window_Delete(object obj, EventArgs args)
>
> to
>
> static void Window_Delete(object obj, DeleteEventArgs args)
>
> adding the Delete before EventArgs
>
> Johannes
>
>