protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget GTKSharpTest.DLL.Widgets.DialogColorPickerOfficeLike this.Name = "GTKSharpTest.DLL.Widgets.DialogColorPickerOfficeLike"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child GTKSharpTest.DLL.Widgets.DialogColorPickerOfficeLike.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.widgetcolorpickerofficelike1 = new global::GTKSharpTest.DLL.Widgets.WidgetColorPickerOfficeLike(); this.widgetcolorpickerofficelike1.Events = ((global::Gdk.EventMask)(256)); this.widgetcolorpickerofficelike1.Name = "widgetcolorpickerofficelike1"; w1.Add(this.widgetcolorpickerofficelike1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.widgetcolorpickerofficelike1])); w2.Position = 0; // Internal child GTKSharpTest.DLL.Widgets.DialogColorPickerOfficeLike.ActionArea global::Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 10; w3.BorderWidth = ((uint)(5)); w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::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); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonCancel])); w4.Expand = false; w4.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::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-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonOk])); w5.Position = 1; w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 538; this.DefaultHeight = 564; this.Show(); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget GTKSharpTest.DLL.Widgets.WindowColorPickerOfficeLike this.Name = "GTKSharpTest.DLL.Widgets.WindowColorPickerOfficeLike"; this.Title = global::Mono.Unix.Catalog.GetString("WindowColorPickerOfficeLike"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child GTKSharpTest.DLL.Widgets.WindowColorPickerOfficeLike.Gtk.Container+ContainerChild this.widgetcolorpickerofficelike2 = null; this.Add(this.widgetcolorpickerofficelike2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 534; this.DefaultHeight = 516; this.Show(); }