namespace TACO { using Gtk; using GtkSharp; using System; class App { public static void Main(string[] args) { Application.Init(); MainWindow window = new MainWindow(); window.Show(); window.DeleteEvent += new DeleteEventHandler(Window_Delete); Application.Run(); } private static void Window_Delete(object obj, DeleteEventArgs args) { Application.Quit(); } } }