protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.ReviewWaypointDialog this.WidthRequest = 500; this.Name = "ocmgtk.ReviewWaypointDialog"; this.Title = Mono.Unix.Catalog.GetString("Review Waypoint (0 of 0)"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Modal = true; this.BorderWidth = ((uint)(6)); // Internal child ocmgtk.ReviewWaypointDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.reviewWidget = new ocmgtk.ReviewWaypointWidget(); this.reviewWidget.Events = ((Gdk.EventMask)(256)); this.reviewWidget.Name = "reviewWidget"; w1.Add(this.reviewWidget); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.reviewWidget])); w2.Position = 0; // Internal child ocmgtk.ReviewWaypointDialog.ActionArea Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 10; w3.BorderWidth = ((uint)(5)); w3.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonCancel])); w4.Expand = false; w4.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.button595 = new Gtk.Button(); this.button595.CanFocus = true; this.button595.Name = "button595"; this.button595.UseUnderline = true; this.button595.Label = Mono.Unix.Catalog.GetString("_Skip"); this.AddActionWidget(this.button595, 0); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.button595])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-add"; this.AddActionWidget(this.buttonOk, 0); Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk])); w6.Position = 2; w6.Expand = false; w6.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 502; this.DefaultHeight = 389; this.Show(); this.buttonCancel.Clicked += new System.EventHandler(this.OnCancelClick); this.button595.Clicked += new System.EventHandler(this.OnSkipClick); this.buttonOk.Clicked += new System.EventHandler(this.OnAddClick); }