mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 15:25:37 +00:00
2002-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/GnomeHelloWorld.cs: use DeleteEventHandler. svn path=/trunk/gtk-sharp/; revision=6480
This commit is contained in:
parent
0479b3c950
commit
4750a00588
|
@ -1,3 +1,7 @@
|
|||
2002-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||
|
||||
* sample/GnomeHelloWorld.cs: use DeleteEventHandler.
|
||||
|
||||
2002-08-07 Duncan Mak <duncan@ximian.com>
|
||||
|
||||
* sample/Fifteen.cs: Added new canvas example.
|
||||
|
|
|
@ -92,7 +92,7 @@ namespace GtkSamples {
|
|||
public Gtk.Window CreateWindow ()
|
||||
{
|
||||
Gnome.App win = new Gnome.App ("gnome-hello-world", "Gnome# Hello World");
|
||||
win.DeleteEvent += new EventHandler (Window_Delete);
|
||||
win.DeleteEvent += new DeleteEventHandler (Window_Delete);
|
||||
|
||||
win.Menus = CreateMenus ();
|
||||
|
||||
|
@ -118,7 +118,7 @@ namespace GtkSamples {
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void Window_Delete (object obj, EventArgs args)
|
||||
static void Window_Delete (object obj, DeleteEventArgs args)
|
||||
{
|
||||
SignalArgs sa = (SignalArgs) args;
|
||||
Application.Quit ();
|
||||
|
|
Loading…
Reference in a new issue