* Makefile.am:
[monodevelop.git] / extras / MonoDevelop.Database / MonoDevelop.Database.Designer / gtk-gui / MonoDevelop.Database.Designer.PreviewDialog.cs
blobe9d63270e8f6d8c9f0e3edbea821d016cbb5c6a0
1 // ------------------------------------------------------------------------------
2 // <autogenerated>
3 // This code was generated by a tool.
4 //
5 //
6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated.
8 // </autogenerated>
9 // ------------------------------------------------------------------------------
11 namespace MonoDevelop.Database.Designer {
14 public partial class PreviewDialog {
16 private Gtk.VBox vboxContent;
18 private MonoDevelop.Database.Components.SqlEditorWidget sqlEditor;
20 private Gtk.Button buttonCancel;
22 private Gtk.Button buttonOk;
24 protected virtual void Build() {
25 Stetic.Gui.Initialize(this);
26 // Widget MonoDevelop.Database.Designer.PreviewDialog
27 this.Name = "MonoDevelop.Database.Designer.PreviewDialog";
28 this.Title = AddinCatalog.GetString("Preview");
29 this.TypeHint = ((Gdk.WindowTypeHint)(1));
30 this.WindowPosition = ((Gtk.WindowPosition)(1));
31 this.SkipTaskbarHint = true;
32 this.HasSeparator = false;
33 // Internal child MonoDevelop.Database.Designer.PreviewDialog.VBox
34 Gtk.VBox w1 = this.VBox;
35 w1.Name = "dialog1_VBox";
36 w1.BorderWidth = ((uint)(2));
37 // Container child dialog1_VBox.Gtk.Box+BoxChild
38 this.vboxContent = new Gtk.VBox();
39 this.vboxContent.Name = "vboxContent";
40 this.vboxContent.Spacing = 6;
41 // Container child vboxContent.Gtk.Box+BoxChild
42 this.sqlEditor = new MonoDevelop.Database.Components.SqlEditorWidget();
43 this.sqlEditor.Events = ((Gdk.EventMask)(256));
44 this.sqlEditor.Name = "sqlEditor";
45 this.sqlEditor.Editable = false;
46 this.vboxContent.Add(this.sqlEditor);
47 Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vboxContent[this.sqlEditor]));
48 w2.Position = 0;
49 w1.Add(this.vboxContent);
50 Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(w1[this.vboxContent]));
51 w3.Position = 0;
52 // Internal child MonoDevelop.Database.Designer.PreviewDialog.ActionArea
53 Gtk.HButtonBox w4 = this.ActionArea;
54 w4.Name = "dialog1_ActionArea";
55 w4.Spacing = 6;
56 w4.BorderWidth = ((uint)(5));
57 w4.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
58 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
59 this.buttonCancel = new Gtk.Button();
60 this.buttonCancel.CanDefault = true;
61 this.buttonCancel.CanFocus = true;
62 this.buttonCancel.Name = "buttonCancel";
63 this.buttonCancel.UseStock = true;
64 this.buttonCancel.UseUnderline = true;
65 this.buttonCancel.Label = "gtk-cancel";
66 this.AddActionWidget(this.buttonCancel, -6);
67 Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonCancel]));
68 w5.Expand = false;
69 w5.Fill = false;
70 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
71 this.buttonOk = new Gtk.Button();
72 this.buttonOk.Sensitive = false;
73 this.buttonOk.CanDefault = true;
74 this.buttonOk.CanFocus = true;
75 this.buttonOk.Name = "buttonOk";
76 this.buttonOk.UseStock = true;
77 this.buttonOk.UseUnderline = true;
78 this.buttonOk.Label = "gtk-ok";
79 this.AddActionWidget(this.buttonOk, -5);
80 Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonOk]));
81 w6.Position = 1;
82 w6.Expand = false;
83 w6.Fill = false;
84 if ((this.Child != null)) {
85 this.Child.ShowAll();
87 this.DefaultWidth = 528;
88 this.DefaultHeight = 382;
89 this.Show();
90 this.buttonCancel.Clicked += new System.EventHandler(this.CancelClicked);
91 this.buttonOk.Clicked += new System.EventHandler(this.OkClicked);