protected virtual void Build() {
     Stetic.Gui.Initialize(this);
     // Widget MonoDevelop.Database.Designer.TriggersEditorWidget
     Stetic.BinContainer.Attach(this);
     this.Name = "MonoDevelop.Database.Designer.TriggersEditorWidget";
     // Container child MonoDevelop.Database.Designer.TriggersEditorWidget.Gtk.Container+ContainerChild
     this.vpaned = new Gtk.VPaned();
     this.vpaned.CanFocus = true;
     this.vpaned.Name = "vpaned";
     this.vpaned.Position = 205;
     // Container child vpaned.Gtk.Paned+PanedChild
     this.hbox = new Gtk.HBox();
     this.hbox.Name = "hbox";
     this.hbox.Spacing = 6;
     // Container child hbox.Gtk.Box+BoxChild
     this.windowTriggers = new Gtk.ScrolledWindow();
     this.windowTriggers.CanFocus = true;
     this.windowTriggers.Name = "windowTriggers";
     this.windowTriggers.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.windowTriggers.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.windowTriggers.ShadowType = ((Gtk.ShadowType)(1));
     // Container child windowTriggers.Gtk.Container+ContainerChild
     this.listTriggers = new Gtk.TreeView();
     this.listTriggers.CanFocus = true;
     this.listTriggers.Name = "listTriggers";
     this.listTriggers.HeadersClickable = true;
     this.windowTriggers.Add(this.listTriggers);
     this.hbox.Add(this.windowTriggers);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox[this.windowTriggers]));
     w2.Position = 0;
     // Container child hbox.Gtk.Box+BoxChild
     this.vbuttonbox = new Gtk.VButtonBox();
     this.vbuttonbox.Name = "vbuttonbox";
     this.vbuttonbox.Spacing = 6;
     this.vbuttonbox.LayoutStyle = ((Gtk.ButtonBoxStyle)(3));
     // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
     this.buttonAdd = new 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);
     Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonAdd]));
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
     this.buttonRemove = new 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);
     Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonRemove]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     this.hbox.Add(this.vbuttonbox);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox[this.vbuttonbox]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     this.vpaned.Add(this.hbox);
     Gtk.Paned.PanedChild w6 = ((Gtk.Paned.PanedChild)(this.vpaned[this.hbox]));
     w6.Resize = false;
     // Container child vpaned.Gtk.Paned+PanedChild
     this.frame = new Gtk.Frame();
     this.frame.Name = "frame";
     this.frame.ShadowType = ((Gtk.ShadowType)(0));
     this.frame.LabelXalign = 0F;
     // Container child frame.Gtk.Container+ContainerChild
     this.alignment = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.alignment.Name = "alignment";
     this.alignment.LeftPadding = ((uint)(12));
     // Container child alignment.Gtk.Container+ContainerChild
     this.sqlEditor = new MonoDevelop.Database.Components.SqlEditorWidget();
     this.sqlEditor.HeightRequest = 80;
     this.sqlEditor.Events = ((Gdk.EventMask)(256));
     this.sqlEditor.Name = "sqlEditor";
     this.sqlEditor.Editable = false;
     this.alignment.Add(this.sqlEditor);
     this.frame.Add(this.alignment);
     this.GtkLabel2 = new Gtk.Label();
     this.GtkLabel2.Name = "GtkLabel2";
     this.GtkLabel2.LabelProp = Mono.Unix.Catalog.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 System.EventHandler(this.AddClicked);
     this.buttonRemove.Clicked += new System.EventHandler(this.RemoveClicked);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget MonoDevelop.Database.Designer.PreviewDialog
     this.Name            = "MonoDevelop.Database.Designer.PreviewDialog";
     this.Title           = Mono.Unix.Catalog.GetString("Preview");
     this.TypeHint        = ((Gdk.WindowTypeHint)(1));
     this.WindowPosition  = ((Gtk.WindowPosition)(1));
     this.SkipTaskbarHint = true;
     this.HasSeparator    = false;
     // Internal child MonoDevelop.Database.Designer.PreviewDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.vboxContent         = new Gtk.VBox();
     this.vboxContent.Name    = "vboxContent";
     this.vboxContent.Spacing = 6;
     // Container child vboxContent.Gtk.Box+BoxChild
     this.sqlEditor          = new MonoDevelop.Database.Components.SqlEditorWidget();
     this.sqlEditor.Events   = ((Gdk.EventMask)(256));
     this.sqlEditor.Name     = "sqlEditor";
     this.sqlEditor.Editable = false;
     this.vboxContent.Add(this.sqlEditor);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vboxContent[this.sqlEditor]));
     w2.Position = 0;
     w1.Add(this.vboxContent);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(w1[this.vboxContent]));
     w3.Position = 0;
     // Internal child MonoDevelop.Database.Designer.PreviewDialog.ActionArea
     Gtk.HButtonBox w4 = this.ActionArea;
     w4.Name        = "dialog1_ActionArea";
     w4.Spacing     = 6;
     w4.BorderWidth = ((uint)(5));
     w4.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 w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonCancel]));
     w5.Expand = false;
     w5.Fill   = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk              = new 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);
     Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonOk]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 528;
     this.DefaultHeight = 382;
     this.Show();
     this.buttonCancel.Clicked += new System.EventHandler(this.CancelClicked);
     this.buttonOk.Clicked     += new System.EventHandler(this.OkClicked);
 }
 protected virtual void Build() {
     Stetic.Gui.Initialize(this);
     // Widget MonoDevelop.Database.Designer.PreviewDialog
     this.Name = "MonoDevelop.Database.Designer.PreviewDialog";
     this.Title = Mono.Unix.Catalog.GetString("Preview");
     this.TypeHint = ((Gdk.WindowTypeHint)(1));
     this.WindowPosition = ((Gtk.WindowPosition)(1));
     this.SkipTaskbarHint = true;
     this.HasSeparator = false;
     // Internal child MonoDevelop.Database.Designer.PreviewDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.vboxContent = new Gtk.VBox();
     this.vboxContent.Name = "vboxContent";
     this.vboxContent.Spacing = 6;
     // Container child vboxContent.Gtk.Box+BoxChild
     this.sqlEditor = new MonoDevelop.Database.Components.SqlEditorWidget();
     this.sqlEditor.Events = ((Gdk.EventMask)(256));
     this.sqlEditor.Name = "sqlEditor";
     this.sqlEditor.Editable = false;
     this.vboxContent.Add(this.sqlEditor);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vboxContent[this.sqlEditor]));
     w2.Position = 0;
     w1.Add(this.vboxContent);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(w1[this.vboxContent]));
     w3.Position = 0;
     // Internal child MonoDevelop.Database.Designer.PreviewDialog.ActionArea
     Gtk.HButtonBox w4 = this.ActionArea;
     w4.Name = "dialog1_ActionArea";
     w4.Spacing = 6;
     w4.BorderWidth = ((uint)(5));
     w4.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 w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonCancel]));
     w5.Expand = false;
     w5.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk = new 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);
     Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonOk]));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 528;
     this.DefaultHeight = 382;
     this.Show();
     this.buttonCancel.Clicked += new System.EventHandler(this.CancelClicked);
     this.buttonOk.Clicked += new System.EventHandler(this.OkClicked);
 }
Example #4
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget MonoDevelop.Database.Designer.CheckConstraintEditorWidget
     Stetic.BinContainer.Attach(this);
     this.Name = "MonoDevelop.Database.Designer.CheckConstraintEditorWidget";
     // Container child MonoDevelop.Database.Designer.CheckConstraintEditorWidget.Gtk.Container+ContainerChild
     this.vpaned          = new Gtk.VPaned();
     this.vpaned.CanFocus = true;
     this.vpaned.Name     = "vpaned";
     this.vpaned.Position = 189;
     // Container child vpaned.Gtk.Paned+PanedChild
     this.hbox         = new Gtk.HBox();
     this.hbox.Name    = "hbox";
     this.hbox.Spacing = 6;
     // Container child hbox.Gtk.Box+BoxChild
     this.windowCheck                  = new Gtk.ScrolledWindow();
     this.windowCheck.CanFocus         = true;
     this.windowCheck.Name             = "windowCheck";
     this.windowCheck.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.windowCheck.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.windowCheck.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child windowCheck.Gtk.Container+ContainerChild
     this.listCheck                  = new Gtk.TreeView();
     this.listCheck.CanFocus         = true;
     this.listCheck.Name             = "listCheck";
     this.listCheck.HeadersClickable = true;
     this.windowCheck.Add(this.listCheck);
     this.hbox.Add(this.windowCheck);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox[this.windowCheck]));
     w2.Position = 0;
     // Container child hbox.Gtk.Box+BoxChild
     this.vbuttonbox             = new Gtk.VButtonBox();
     this.vbuttonbox.Name        = "vbuttonbox";
     this.vbuttonbox.Spacing     = 6;
     this.vbuttonbox.LayoutStyle = ((Gtk.ButtonBoxStyle)(3));
     // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
     this.buttonAdd              = new 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);
     Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonAdd]));
     w3.Expand = false;
     w3.Fill   = false;
     // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
     this.buttonRemove              = new 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);
     Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonRemove]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     this.hbox.Add(this.vbuttonbox);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox[this.vbuttonbox]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     this.vpaned.Add(this.hbox);
     Gtk.Paned.PanedChild w6 = ((Gtk.Paned.PanedChild)(this.vpaned[this.hbox]));
     w6.Resize = false;
     // Container child vpaned.Gtk.Paned+PanedChild
     this.frame             = new Gtk.Frame();
     this.frame.Name        = "frame";
     this.frame.ShadowType  = ((Gtk.ShadowType)(0));
     this.frame.LabelXalign = 0F;
     // Container child frame.Gtk.Container+ContainerChild
     this.alignment             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.alignment.Name        = "alignment";
     this.alignment.LeftPadding = ((uint)(12));
     // Container child alignment.Gtk.Container+ContainerChild
     this.sqlEditor          = new MonoDevelop.Database.Components.SqlEditorWidget();
     this.sqlEditor.Events   = ((Gdk.EventMask)(256));
     this.sqlEditor.Name     = "sqlEditor";
     this.sqlEditor.Editable = false;
     this.alignment.Add(this.sqlEditor);
     this.frame.Add(this.alignment);
     this.GtkLabel2           = new Gtk.Label();
     this.GtkLabel2.Name      = "GtkLabel2";
     this.GtkLabel2.LabelProp = Mono.Unix.Catalog.GetString("Check Condition");
     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 System.EventHandler(this.AddClicked);
     this.buttonRemove.Clicked += new System.EventHandler(this.RemoveClicked);
 }