1 // ------------------------------------------------------------------------------
3 // This code was generated by a tool.
6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated.
9 // ------------------------------------------------------------------------------
11 namespace MonoDevelop
.Database
.Designer
{
14 public partial class UserEditorDialog
{
16 private Gtk
.VBox vboxContent
;
18 private Gtk
.HBox hboxName
;
20 private Gtk
.Label label7
;
22 private Gtk
.Entry entryName
;
24 private Gtk
.Button buttonCancel
;
26 private Gtk
.Button buttonOk
;
28 protected virtual void Build() {
29 Stetic
.Gui
.Initialize(this);
30 // Widget MonoDevelop.Database.Designer.UserEditorDialog
31 this.Name
= "MonoDevelop.Database.Designer.UserEditorDialog";
32 this.WindowPosition
= ((Gtk
.WindowPosition
)(4));
33 this.HasSeparator
= false;
34 // Internal child MonoDevelop.Database.Designer.UserEditorDialog.VBox
35 Gtk
.VBox w1
= this.VBox
;
36 w1
.Name
= "dialog1_VBox";
37 w1
.BorderWidth
= ((uint)(2));
38 // Container child dialog1_VBox.Gtk.Box+BoxChild
39 this.vboxContent
= new Gtk
.VBox();
40 this.vboxContent
.Name
= "vboxContent";
41 this.vboxContent
.Spacing
= 6;
42 this.vboxContent
.BorderWidth
= ((uint)(6));
43 // Container child vboxContent.Gtk.Box+BoxChild
44 this.hboxName
= new Gtk
.HBox();
45 this.hboxName
.Name
= "hboxName";
46 this.hboxName
.Spacing
= 6;
47 // Container child hboxName.Gtk.Box+BoxChild
48 this.label7
= new Gtk
.Label();
49 this.label7
.Name
= "label7";
50 this.label7
.Xalign
= 0F
;
51 this.label7
.LabelProp
= AddinCatalog
.GetString("Name");
52 this.hboxName
.Add(this.label7
);
53 Gtk
.Box
.BoxChild w2
= ((Gtk
.Box
.BoxChild
)(this.hboxName
[this.label7
]));
57 // Container child hboxName.Gtk.Box+BoxChild
58 this.entryName
= new Gtk
.Entry();
59 this.entryName
.CanFocus
= true;
60 this.entryName
.Name
= "entryName";
61 this.entryName
.IsEditable
= true;
62 this.entryName
.InvisibleChar
= '●';
63 this.hboxName
.Add(this.entryName
);
64 Gtk
.Box
.BoxChild w3
= ((Gtk
.Box
.BoxChild
)(this.hboxName
[this.entryName
]));
66 this.vboxContent
.Add(this.hboxName
);
67 Gtk
.Box
.BoxChild w4
= ((Gtk
.Box
.BoxChild
)(this.vboxContent
[this.hboxName
]));
71 w1
.Add(this.vboxContent
);
72 Gtk
.Box
.BoxChild w5
= ((Gtk
.Box
.BoxChild
)(w1
[this.vboxContent
]));
74 // Internal child MonoDevelop.Database.Designer.UserEditorDialog.ActionArea
75 Gtk
.HButtonBox w6
= this.ActionArea
;
76 w6
.Name
= "dialog1_ActionArea";
78 w6
.BorderWidth
= ((uint)(5));
79 w6
.LayoutStyle
= ((Gtk
.ButtonBoxStyle
)(4));
80 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
81 this.buttonCancel
= new Gtk
.Button();
82 this.buttonCancel
.CanDefault
= true;
83 this.buttonCancel
.CanFocus
= true;
84 this.buttonCancel
.Name
= "buttonCancel";
85 this.buttonCancel
.UseStock
= true;
86 this.buttonCancel
.UseUnderline
= true;
87 this.buttonCancel
.Label
= "gtk-cancel";
88 this.AddActionWidget(this.buttonCancel
, -6);
89 Gtk
.ButtonBox
.ButtonBoxChild w7
= ((Gtk
.ButtonBox
.ButtonBoxChild
)(w6
[this.buttonCancel
]));
92 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
93 this.buttonOk
= new Gtk
.Button();
94 this.buttonOk
.Sensitive
= false;
95 this.buttonOk
.CanDefault
= true;
96 this.buttonOk
.CanFocus
= true;
97 this.buttonOk
.Name
= "buttonOk";
98 this.buttonOk
.UseStock
= true;
99 this.buttonOk
.UseUnderline
= true;
100 this.buttonOk
.Label
= "gtk-ok";
101 this.AddActionWidget(this.buttonOk
, -5);
102 Gtk
.ButtonBox
.ButtonBoxChild w8
= ((Gtk
.ButtonBox
.ButtonBoxChild
)(w6
[this.buttonOk
]));
106 if ((this.Child
!= null)) {
107 this.Child
.ShowAll();
109 this.DefaultWidth
= 640;
110 this.DefaultHeight
= 480;
112 this.entryName
.Changed
+= new System
.EventHandler(this.NameChanged
);
113 this.buttonCancel
.Clicked
+= new System
.EventHandler(this.CancelClicked
);
114 this.buttonOk
.Clicked
+= new System
.EventHandler(this.OkClicked
);