// ------------------------------------------------------------------------------ // // This code was generated by a tool. // // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // // ------------------------------------------------------------------------------ namespace lliurex.controlcenter { public partial class WarningDialog { private Gtk.VBox vbox2; private Gtk.HBox hbox5; private Gtk.Image image29; private Gtk.Label label2; private Gtk.HBox hbox4; private Gtk.Button acceptButton; protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget lliurex.controlcenter.WarningDialog this.Name = "lliurex.controlcenter.WarningDialog"; this.Title = Mono.Unix.Catalog.GetString("Warning"); this.WindowPosition = ((Gtk.WindowPosition)(1)); // Container child lliurex.controlcenter.WarningDialog.Gtk.Container+ContainerChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(8)); // Container child vbox2.Gtk.Box+BoxChild this.hbox5 = new Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; this.hbox5.BorderWidth = ((uint)(7)); // Container child hbox5.Gtk.Box+BoxChild this.image29 = new Gtk.Image(); this.image29.Name = "image29"; this.image29.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-warning", Gtk.IconSize.Dialog, 48); this.hbox5.Add(this.image29); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox5[this.image29])); w1.Position = 0; w1.Expand = false; w1.Fill = false; w1.Padding = ((uint)(11)); // Container child hbox5.Gtk.Box+BoxChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("label2"); this.hbox5.Add(this.label2); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox5[this.label2])); w2.Position = 1; w2.Expand = false; w2.Fill = false; w2.Padding = ((uint)(6)); this.vbox2.Add(this.hbox5); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox5])); w3.Position = 0; w3.Expand = false; w3.Fill = false; w3.Padding = ((uint)(1)); // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.acceptButton = new Gtk.Button(); this.acceptButton.CanFocus = true; this.acceptButton.Name = "acceptButton"; this.acceptButton.UseStock = true; this.acceptButton.UseUnderline = true; this.acceptButton.Label = "gtk-ok"; this.hbox4.Add(this.acceptButton); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox4[this.acceptButton])); w4.PackType = ((Gtk.PackType)(1)); w4.Position = 0; w4.Expand = false; w4.Fill = false; w4.Padding = ((uint)(12)); this.vbox2.Add(this.hbox4); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox4])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 423; this.DefaultHeight = 147; this.Show(); this.acceptButton.Clicked += new System.EventHandler(this.OnAcceptButtonClicked); } } }