using System; namespace zero { namespace netboot { public partial class IsoOptionDialog : Gtk.Window { public IsoOptionDialog () : base(Gtk.WindowType.Toplevel) { this.Build (); } protected virtual void OnCancelClicked (object sender, System.EventArgs e) { this.Hide(); zero.netboot.Core.getCore().isomanwidget.do_it_anyway=false; zero.netboot.Core.getCore().isomanwidget.only_installer=false; zero.netboot.Core.getCore().isomanwidget.iso_found=false; zero.netboot.Core.getCore().isomanwidget.isos_center.Clear(); this.Destroy(); } protected virtual void OnOkClicked (object sender, System.EventArgs e) { this.Hide(); zero.netboot.Core.getCore().isomanwidget.do_it_anyway=true; zero.netboot.Core.getCore().isomanwidget.only_installer=false; zero.netboot.Core.getCore().isomanwidget.CopyISOFileCenter(); this.Destroy(); } protected virtual void OnOnlyInstClicked (object sender, System.EventArgs e) { this.Hide(); zero.netboot.Core.getCore().isomanwidget.do_it_anyway=true; zero.netboot.Core.getCore().isomanwidget.only_installer=true; zero.netboot.Core.getCore().isomanwidget.CopyISOFileCenter(); this.Destroy(); } } } }