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
.Components
{
14 public partial class DatabaseConnectionSettingsDialog
{
16 private Gtk
.VBox vbox
;
18 private Gtk
.Button buttonCancel
;
20 private Gtk
.Button buttonOk
;
22 protected virtual void Build() {
23 Stetic
.Gui
.Initialize(this);
24 // Widget MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog
25 this.Name
= "MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog";
26 this.TypeHint
= ((Gdk
.WindowTypeHint
)(1));
27 this.WindowPosition
= ((Gtk
.WindowPosition
)(1));
28 this.SkipTaskbarHint
= true;
29 this.HasSeparator
= false;
30 // Internal child MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog.VBox
31 Gtk
.VBox w1
= this.VBox
;
32 w1
.Name
= "dialog1_VBox";
33 w1
.BorderWidth
= ((uint)(2));
34 // Container child dialog1_VBox.Gtk.Box+BoxChild
35 this.vbox
= new Gtk
.VBox();
36 this.vbox
.Name
= "vbox";
37 this.vbox
.Spacing
= 6;
39 Gtk
.Box
.BoxChild w2
= ((Gtk
.Box
.BoxChild
)(w1
[this.vbox
]));
41 // Internal child MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog.ActionArea
42 Gtk
.HButtonBox w3
= this.ActionArea
;
43 w3
.Name
= "dialog1_ActionArea";
45 w3
.BorderWidth
= ((uint)(5));
46 w3
.LayoutStyle
= ((Gtk
.ButtonBoxStyle
)(4));
47 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
48 this.buttonCancel
= new Gtk
.Button();
49 this.buttonCancel
.CanDefault
= true;
50 this.buttonCancel
.CanFocus
= true;
51 this.buttonCancel
.Name
= "buttonCancel";
52 this.buttonCancel
.UseStock
= true;
53 this.buttonCancel
.UseUnderline
= true;
54 this.buttonCancel
.Label
= "gtk-cancel";
55 this.AddActionWidget(this.buttonCancel
, -6);
56 Gtk
.ButtonBox
.ButtonBoxChild w4
= ((Gtk
.ButtonBox
.ButtonBoxChild
)(w3
[this.buttonCancel
]));
59 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
60 this.buttonOk
= new Gtk
.Button();
61 this.buttonOk
.Sensitive
= false;
62 this.buttonOk
.CanDefault
= true;
63 this.buttonOk
.CanFocus
= true;
64 this.buttonOk
.Name
= "buttonOk";
65 this.buttonOk
.UseStock
= true;
66 this.buttonOk
.UseUnderline
= true;
67 this.buttonOk
.Label
= "gtk-ok";
68 this.AddActionWidget(this.buttonOk
, -5);
69 Gtk
.ButtonBox
.ButtonBoxChild w5
= ((Gtk
.ButtonBox
.ButtonBoxChild
)(w3
[this.buttonOk
]));
73 if ((this.Child
!= null)) {
76 this.DefaultWidth
= 606;
77 this.DefaultHeight
= 355;
79 this.buttonCancel
.Clicked
+= new System
.EventHandler(this.OnCancelClicked
);
80 this.buttonOk
.Clicked
+= new System
.EventHandler(this.OnOkClicked
);