diff options
Diffstat (limited to 'mcs/class/System.Windows.Forms/Gtk/Application.cs')
-rw-r--r-- | mcs/class/System.Windows.Forms/Gtk/Application.cs | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/mcs/class/System.Windows.Forms/Gtk/Application.cs b/mcs/class/System.Windows.Forms/Gtk/Application.cs deleted file mode 100644 index 1ce7107ef92..00000000000 --- a/mcs/class/System.Windows.Forms/Gtk/Application.cs +++ /dev/null @@ -1,37 +0,0 @@ -// -// System.Windows.Forms.Application -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// -// (C) 2002 Ximian, Inc -// - -using System; -using System.Drawing; -using Gtk; -using GtkSharp; -using System.ComponentModel; - -namespace System.Windows.Forms { - - public sealed class Application { - public static void Run () - { - Gtk.Application.Run (); - } - - static void terminate_event_loop (object o, EventArgs args) - { - Gtk.Application.Quit (); - } - - public static void Run (Form form) - { - form.Visible = true; - form.Closed += new EventHandler (terminate_event_loop); - - Gtk.Application.Run (); - } - } -} |