protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.Database.Designer.TriggersEditorWidget global::Stetic.BinContainer.Attach(this); this.Name = "MonoDevelop.Database.Designer.TriggersEditorWidget"; // Container child MonoDevelop.Database.Designer.TriggersEditorWidget.Gtk.Container+ContainerChild this.vpaned = new global::Gtk.VPaned(); this.vpaned.CanFocus = true; this.vpaned.Name = "vpaned"; this.vpaned.Position = 205; // Container child vpaned.Gtk.Paned+PanedChild this.hbox = new global::Gtk.HBox(); this.hbox.Name = "hbox"; this.hbox.Spacing = 6; // Container child hbox.Gtk.Box+BoxChild this.windowTriggers = new global::Gtk.ScrolledWindow(); this.windowTriggers.CanFocus = true; this.windowTriggers.Name = "windowTriggers"; this.windowTriggers.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child windowTriggers.Gtk.Container+ContainerChild this.listTriggers = new global::Gtk.TreeView(); this.listTriggers.CanFocus = true; this.listTriggers.Name = "listTriggers"; this.windowTriggers.Add(this.listTriggers); this.hbox.Add(this.windowTriggers); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox[this.windowTriggers])); w2.Position = 0; // Container child hbox.Gtk.Box+BoxChild this.vbuttonbox = new global::Gtk.VButtonBox(); this.vbuttonbox.Name = "vbuttonbox"; this.vbuttonbox.Spacing = 6; this.vbuttonbox.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild this.buttonAdd = new global::Gtk.Button(); this.buttonAdd.CanFocus = true; this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.UseStock = true; this.buttonAdd.UseUnderline = true; this.buttonAdd.Label = "gtk-add"; this.vbuttonbox.Add(this.buttonAdd); global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonAdd])); w3.Expand = false; w3.Fill = false; // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild this.buttonRemove = new global::Gtk.Button(); this.buttonRemove.Sensitive = false; this.buttonRemove.CanFocus = true; this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.UseStock = true; this.buttonRemove.UseUnderline = true; this.buttonRemove.Label = "gtk-remove"; this.vbuttonbox.Add(this.buttonRemove); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonRemove])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.hbox.Add(this.vbuttonbox); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox[this.vbuttonbox])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vpaned.Add(this.hbox); global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.vpaned[this.hbox])); w6.Resize = false; // Container child vpaned.Gtk.Paned+PanedChild this.frame = new global::Gtk.Frame(); this.frame.Name = "frame"; this.frame.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame.Gtk.Container+ContainerChild this.alignment = new global::Gtk.Alignment(0f, 0f, 1f, 1f); this.alignment.Name = "alignment"; this.alignment.LeftPadding = ((uint)(12)); // Container child alignment.Gtk.Container+ContainerChild this.sqlEditor = new global::MonoDevelop.Database.Components.SqlEditorWidget(); this.sqlEditor.HeightRequest = 80; this.sqlEditor.Events = ((global::Gdk.EventMask)(256)); this.sqlEditor.Name = "sqlEditor"; this.sqlEditor.Editable = false; this.alignment.Add(this.sqlEditor); this.frame.Add(this.alignment); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString("Statement"); this.GtkLabel2.UseMarkup = true; this.frame.LabelWidget = this.GtkLabel2; this.vpaned.Add(this.frame); this.Add(this.vpaned); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.buttonAdd.Clicked += new global::System.EventHandler(this.AddClicked); this.buttonRemove.Clicked += new global::System.EventHandler(this.RemoveClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.Database.Designer.PreviewDialog this.Name = "MonoDevelop.Database.Designer.PreviewDialog"; this.Title = global::MonoDevelop.Database.AddinCatalog.GetString("Preview"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.SkipTaskbarHint = true; // Internal child MonoDevelop.Database.Designer.PreviewDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vboxContent = new global::Gtk.VBox(); this.vboxContent.Name = "vboxContent"; this.vboxContent.Spacing = 6; // Container child vboxContent.Gtk.Box+BoxChild this.sqlEditor = new global::MonoDevelop.Database.Components.SqlEditorWidget(); this.sqlEditor.Events = ((global::Gdk.EventMask)(256)); this.sqlEditor.Name = "sqlEditor"; this.sqlEditor.Editable = false; this.vboxContent.Add(this.sqlEditor); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxContent[this.sqlEditor])); w2.Position = 0; w1.Add(this.vboxContent); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1[this.vboxContent])); w3.Position = 0; // Internal child MonoDevelop.Database.Designer.PreviewDialog.ActionArea global::Gtk.HButtonBox w4 = this.ActionArea; w4.Name = "dialog1_ActionArea"; w4.Spacing = 6; w4.BorderWidth = ((uint)(5)); w4.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.button21 = new global::Gtk.Button(); this.button21.CanFocus = true; this.button21.Name = "button21"; this.button21.UseUnderline = true; // Container child button21.Gtk.Container+ContainerChild global::Gtk.Alignment w5 = new global::Gtk.Alignment(0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w6 = new global::Gtk.HBox(); w6.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w7 = new global::Gtk.Image(); w7.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); w6.Add(w7); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w9 = new global::Gtk.Label(); w9.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString("_Save Script"); w9.UseUnderline = true; w6.Add(w9); w5.Add(w6); this.button21.Add(w5); this.AddActionWidget(this.button21, -10); global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4[this.button21])); w13.Expand = false; w13.Fill = false; // 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 w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonCancel])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.Sensitive = false; 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 w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonOk])); w15.Position = 2; w15.Expand = false; w15.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 617; this.DefaultHeight = 382; this.Show(); this.button21.Clicked += new global::System.EventHandler(this.OnButton21Clicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.CancelClicked); this.buttonOk.Clicked += new global::System.EventHandler(this.OkClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.Database.Designer.TriggersEditorWidget global::Stetic.BinContainer.Attach (this); this.Name = "MonoDevelop.Database.Designer.TriggersEditorWidget"; // Container child MonoDevelop.Database.Designer.TriggersEditorWidget.Gtk.Container+ContainerChild this.vpaned = new global::Gtk.VPaned (); this.vpaned.CanFocus = true; this.vpaned.Name = "vpaned"; this.vpaned.Position = 205; // Container child vpaned.Gtk.Paned+PanedChild this.hbox = new global::Gtk.HBox (); this.hbox.Name = "hbox"; this.hbox.Spacing = 6; // Container child hbox.Gtk.Box+BoxChild this.windowTriggers = new global::Gtk.ScrolledWindow (); this.windowTriggers.CanFocus = true; this.windowTriggers.Name = "windowTriggers"; this.windowTriggers.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child windowTriggers.Gtk.Container+ContainerChild this.listTriggers = new global::Gtk.TreeView (); this.listTriggers.CanFocus = true; this.listTriggers.Name = "listTriggers"; this.windowTriggers.Add (this.listTriggers); this.hbox.Add (this.windowTriggers); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox[this.windowTriggers])); w2.Position = 0; // Container child hbox.Gtk.Box+BoxChild this.vbuttonbox = new global::Gtk.VButtonBox (); this.vbuttonbox.Name = "vbuttonbox"; this.vbuttonbox.Spacing = 6; this.vbuttonbox.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild this.buttonAdd = new global::Gtk.Button (); this.buttonAdd.CanFocus = true; this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.UseStock = true; this.buttonAdd.UseUnderline = true; this.buttonAdd.Label = "gtk-add"; this.vbuttonbox.Add (this.buttonAdd); global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonAdd])); w3.Expand = false; w3.Fill = false; // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild this.buttonRemove = new global::Gtk.Button (); this.buttonRemove.Sensitive = false; this.buttonRemove.CanFocus = true; this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.UseStock = true; this.buttonRemove.UseUnderline = true; this.buttonRemove.Label = "gtk-remove"; this.vbuttonbox.Add (this.buttonRemove); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonRemove])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.hbox.Add (this.vbuttonbox); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox[this.vbuttonbox])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vpaned.Add (this.hbox); global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.vpaned[this.hbox])); w6.Resize = false; // Container child vpaned.Gtk.Paned+PanedChild this.frame = new global::Gtk.Frame (); this.frame.Name = "frame"; this.frame.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame.Gtk.Container+ContainerChild this.alignment = new global::Gtk.Alignment (0f, 0f, 1f, 1f); this.alignment.Name = "alignment"; this.alignment.LeftPadding = ((uint)(12)); // Container child alignment.Gtk.Container+ContainerChild this.sqlEditor = new global::MonoDevelop.Database.Components.SqlEditorWidget (); this.sqlEditor.HeightRequest = 80; this.sqlEditor.Events = ((global::Gdk.EventMask)(256)); this.sqlEditor.Name = "sqlEditor"; this.sqlEditor.Editable = false; this.alignment.Add (this.sqlEditor); this.frame.Add (this.alignment); this.GtkLabel2 = new global::Gtk.Label (); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Statement"); this.GtkLabel2.UseMarkup = true; this.frame.LabelWidget = this.GtkLabel2; this.vpaned.Add (this.frame); this.Add (this.vpaned); if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); this.buttonAdd.Clicked += new global::System.EventHandler (this.AddClicked); this.buttonRemove.Clicked += new global::System.EventHandler (this.RemoveClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.Database.Designer.PreviewDialog this.Name = "MonoDevelop.Database.Designer.PreviewDialog"; this.Title = global::MonoDevelop.Database.AddinCatalog.GetString ("Preview"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.SkipTaskbarHint = true; // Internal child MonoDevelop.Database.Designer.PreviewDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vboxContent = new global::Gtk.VBox (); this.vboxContent.Name = "vboxContent"; this.vboxContent.Spacing = 6; // Container child vboxContent.Gtk.Box+BoxChild this.sqlEditor = new global::MonoDevelop.Database.Components.SqlEditorWidget (); this.sqlEditor.Events = ((global::Gdk.EventMask)(256)); this.sqlEditor.Name = "sqlEditor"; this.sqlEditor.Editable = false; this.vboxContent.Add (this.sqlEditor); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxContent[this.sqlEditor])); w2.Position = 0; w1.Add (this.vboxContent); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1[this.vboxContent])); w3.Position = 0; // Internal child MonoDevelop.Database.Designer.PreviewDialog.ActionArea global::Gtk.HButtonBox w4 = this.ActionArea; w4.Name = "dialog1_ActionArea"; w4.Spacing = 6; w4.BorderWidth = ((uint)(5)); w4.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.button21 = new global::Gtk.Button (); this.button21.CanFocus = true; this.button21.Name = "button21"; this.button21.UseUnderline = true; // Container child button21.Gtk.Container+ContainerChild global::Gtk.Alignment w5 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w6 = new global::Gtk.HBox (); w6.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w7 = new global::Gtk.Image (); w7.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); w6.Add (w7); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w9 = new global::Gtk.Label (); w9.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("_Save Script"); w9.UseUnderline = true; w6.Add (w9); w5.Add (w6); this.button21.Add (w5); this.AddActionWidget (this.button21, -10); global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4[this.button21])); w13.Expand = false; w13.Fill = false; // 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 w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonCancel])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.Sensitive = false; 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 w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonOk])); w15.Position = 2; w15.Expand = false; w15.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 617; this.DefaultHeight = 382; this.Show (); this.button21.Clicked += new global::System.EventHandler (this.OnButton21Clicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.CancelClicked); this.buttonOk.Clicked += new global::System.EventHandler (this.OkClicked); }