public static void ShowUp() { if (about == null) { about = new AboutDialog(); about.Destroyed += delegate(object o, EventArgs e) { about = null; }; about.Response += delegate(object o, Gtk.ResponseArgs e) { if (about != null) { about.Destroy(); } }; } about.Show(); }
public static void ShowUp() { if (about == null) { about = new AboutDialog(); about.Destroyed += (o, e) => { about = null; }; about.Response += (o, e) => { if (about != null) { about.Destroy(); } }; } about.Show(); }