using System; namespace zero { namespace netboot { public partial class WarningDialog : Gtk.Window { protected virtual void OnAcceptButtonClicked (object sender, System.EventArgs e) { if(zero.netboot.Core.getCore().close_me) { this.Hide(); Gtk.Application.Quit(); }else { this.Destroy(); } } public WarningDialog () : base(Gtk.WindowType.Toplevel) { this.Build (); } public string msg { set { msgLabel.Text=value; } } } } }