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 CreateDatabaseDialog
{
16 private Gtk
.Notebook notebook
;
18 private Gtk
.VBox vboxConnection
;
20 private Gtk
.Label label1
;
22 private Gtk
.Button buttonCancel
;
24 private Gtk
.Button buttonOk
;
26 protected virtual void Build() {
27 Stetic
.Gui
.Initialize(this);
28 // Widget MonoDevelop.Database.Designer.CreateDatabaseDialog
29 this.Name
= "MonoDevelop.Database.Designer.CreateDatabaseDialog";
30 this.Title
= AddinCatalog
.GetString("Create Database");
31 this.TypeHint
= ((Gdk
.WindowTypeHint
)(1));
32 this.WindowPosition
= ((Gtk
.WindowPosition
)(1));
33 this.SkipTaskbarHint
= true;
34 this.HasSeparator
= false;
35 // Internal child MonoDevelop.Database.Designer.CreateDatabaseDialog.VBox
36 Gtk
.VBox w1
= this.VBox
;
37 w1
.Name
= "dialog1_VBox";
38 w1
.BorderWidth
= ((uint)(2));
39 // Container child dialog1_VBox.Gtk.Box+BoxChild
40 this.notebook
= new Gtk
.Notebook();
41 this.notebook
.CanFocus
= true;
42 this.notebook
.Name
= "notebook";
43 this.notebook
.CurrentPage
= 0;
44 this.notebook
.ShowTabs
= false;
45 // Container child notebook.Gtk.Notebook+NotebookChild
46 this.vboxConnection
= new Gtk
.VBox();
47 this.vboxConnection
.Name
= "vboxConnection";
48 this.vboxConnection
.Spacing
= 6;
49 this.vboxConnection
.BorderWidth
= ((uint)(6));
50 this.notebook
.Add(this.vboxConnection
);
52 this.label1
= new Gtk
.Label();
53 this.label1
.Name
= "label1";
54 this.label1
.LabelProp
= AddinCatalog
.GetString("Connection");
55 this.notebook
.SetTabLabel(this.vboxConnection
, this.label1
);
56 this.label1
.ShowAll();
57 w1
.Add(this.notebook
);
58 Gtk
.Box
.BoxChild w3
= ((Gtk
.Box
.BoxChild
)(w1
[this.notebook
]));
60 // Internal child MonoDevelop.Database.Designer.CreateDatabaseDialog.ActionArea
61 Gtk
.HButtonBox w4
= this.ActionArea
;
62 w4
.Name
= "dialog1_ActionArea";
64 w4
.BorderWidth
= ((uint)(5));
65 w4
.LayoutStyle
= ((Gtk
.ButtonBoxStyle
)(4));
66 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
67 this.buttonCancel
= new Gtk
.Button();
68 this.buttonCancel
.CanDefault
= true;
69 this.buttonCancel
.CanFocus
= true;
70 this.buttonCancel
.Name
= "buttonCancel";
71 this.buttonCancel
.UseStock
= true;
72 this.buttonCancel
.UseUnderline
= true;
73 this.buttonCancel
.Label
= "gtk-cancel";
74 this.AddActionWidget(this.buttonCancel
, -6);
75 Gtk
.ButtonBox
.ButtonBoxChild w5
= ((Gtk
.ButtonBox
.ButtonBoxChild
)(w4
[this.buttonCancel
]));
78 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
79 this.buttonOk
= new Gtk
.Button();
80 this.buttonOk
.Sensitive
= false;
81 this.buttonOk
.CanDefault
= true;
82 this.buttonOk
.CanFocus
= true;
83 this.buttonOk
.Name
= "buttonOk";
84 this.buttonOk
.UseStock
= true;
85 this.buttonOk
.UseUnderline
= true;
86 this.buttonOk
.Label
= "gtk-ok";
87 this.AddActionWidget(this.buttonOk
, -5);
88 Gtk
.ButtonBox
.ButtonBoxChild w6
= ((Gtk
.ButtonBox
.ButtonBoxChild
)(w4
[this.buttonOk
]));
92 if ((this.Child
!= null)) {
95 this.DefaultWidth
= 662;
96 this.DefaultHeight
= 474;
98 this.buttonCancel
.Clicked
+= new System
.EventHandler(this.CancelClicked
);
99 this.buttonOk
.Clicked
+= new System
.EventHandler(this.OkClicked
);