2 // This file has been generated by the GUI designer. Do not modify.
5 public partial class MainWindow
7 private global::Gtk.VBox vbox1;
8 private global::Gtk.Table table1;
9 private global::Gtk.ComboBox ConnectionSelection;
10 private global::Gtk.Label label10;
11 private global::Gtk.Label label11;
12 private global::Gtk.Label label12;
13 private global::Gtk.Label label9;
14 private global::Gtk.Entry PasswordField;
15 private global::Gtk.Entry ServerField;
16 private global::Gtk.Entry UserField;
17 private global::Gtk.HBox hbox2;
18 private global::Gtk.Button DeleteConnectionBtn;
19 private global::Gtk.Button button1;
21 protected virtual void Build ()
23 global::Stetic.Gui.Initialize (this);
24 // Widget mCloudGui.MainWindow
25 this.Name = "mCloudGui.MainWindow";
26 this.Title = global::Mono.Unix.Catalog.GetString ("mCloud Configuration Wizard");
27 this.WindowPosition = ((global::Gtk.WindowPosition)(4));
28 this.BorderWidth = ((uint)(3));
29 // Container child mCloudGui.MainWindow.Gtk.Container+ContainerChild
30 this.vbox1 = new global::Gtk.VBox ();
31 this.vbox1.Name = "vbox1";
32 this.vbox1.Spacing = 6;
33 // Container child vbox1.Gtk.Box+BoxChild
34 this.table1 = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false);
35 this.table1.Name = "table1";
36 this.table1.RowSpacing = ((uint)(6));
37 this.table1.ColumnSpacing = ((uint)(6));
38 // Container child table1.Gtk.Table+TableChild
39 this.ConnectionSelection = global::Gtk.ComboBox.NewText ();
40 this.ConnectionSelection.Name = "ConnectionSelection";
41 this.table1.Add (this.ConnectionSelection);
42 global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.ConnectionSelection]));
43 w1.LeftAttach = ((uint)(1));
44 w1.RightAttach = ((uint)(2));
45 w1.XOptions = ((global::Gtk.AttachOptions)(4));
46 w1.YOptions = ((global::Gtk.AttachOptions)(4));
47 // Container child table1.Gtk.Table+TableChild
48 this.label10 = new global::Gtk.Label ();
49 this.label10.Name = "label10";
50 this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Server");
51 this.table1.Add (this.label10);
52 global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.label10]));
53 w2.TopAttach = ((uint)(1));
54 w2.BottomAttach = ((uint)(2));
55 w2.XOptions = ((global::Gtk.AttachOptions)(4));
56 w2.YOptions = ((global::Gtk.AttachOptions)(4));
57 // Container child table1.Gtk.Table+TableChild
58 this.label11 = new global::Gtk.Label ();
59 this.label11.Name = "label11";
60 this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("User");
61 this.table1.Add (this.label11);
62 global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label11]));
63 w3.TopAttach = ((uint)(2));
64 w3.BottomAttach = ((uint)(3));
65 w3.XOptions = ((global::Gtk.AttachOptions)(4));
66 w3.YOptions = ((global::Gtk.AttachOptions)(4));
67 // Container child table1.Gtk.Table+TableChild
68 this.label12 = new global::Gtk.Label ();
69 this.label12.Name = "label12";
70 this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Password");
71 this.table1.Add (this.label12);
72 global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label12]));
73 w4.TopAttach = ((uint)(3));
74 w4.BottomAttach = ((uint)(4));
75 w4.XOptions = ((global::Gtk.AttachOptions)(4));
76 w4.YOptions = ((global::Gtk.AttachOptions)(4));
77 // Container child table1.Gtk.Table+TableChild
78 this.label9 = new global::Gtk.Label ();
79 this.label9.Name = "label9";
80 this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Connection Selection");
81 this.table1.Add (this.label9);
82 global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9]));
83 w5.XOptions = ((global::Gtk.AttachOptions)(4));
84 w5.YOptions = ((global::Gtk.AttachOptions)(4));
85 // Container child table1.Gtk.Table+TableChild
86 this.PasswordField = new global::Gtk.Entry ();
87 this.PasswordField.CanFocus = true;
88 this.PasswordField.Name = "PasswordField";
89 this.PasswordField.IsEditable = true;
90 this.PasswordField.InvisibleChar = '●';
91 this.table1.Add (this.PasswordField);
92 global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.PasswordField]));
93 w6.TopAttach = ((uint)(3));
94 w6.BottomAttach = ((uint)(4));
95 w6.LeftAttach = ((uint)(1));
96 w6.RightAttach = ((uint)(2));
97 w6.XOptions = ((global::Gtk.AttachOptions)(4));
98 w6.YOptions = ((global::Gtk.AttachOptions)(4));
99 // Container child table1.Gtk.Table+TableChild
100 this.ServerField = new global::Gtk.Entry ();
101 this.ServerField.CanFocus = true;
102 this.ServerField.Name = "ServerField";
103 this.ServerField.IsEditable = true;
104 this.ServerField.InvisibleChar = '●';
105 this.table1.Add (this.ServerField);
106 global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.ServerField]));
107 w7.TopAttach = ((uint)(1));
108 w7.BottomAttach = ((uint)(2));
109 w7.LeftAttach = ((uint)(1));
110 w7.RightAttach = ((uint)(2));
111 w7.XOptions = ((global::Gtk.AttachOptions)(4));
112 w7.YOptions = ((global::Gtk.AttachOptions)(4));
113 // Container child table1.Gtk.Table+TableChild
114 this.UserField = new global::Gtk.Entry ();
115 this.UserField.CanFocus = true;
116 this.UserField.Name = "UserField";
117 this.UserField.IsEditable = true;
118 this.UserField.InvisibleChar = '●';
119 this.table1.Add (this.UserField);
120 global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.UserField]));
121 w8.TopAttach = ((uint)(2));
122 w8.BottomAttach = ((uint)(3));
123 w8.LeftAttach = ((uint)(1));
124 w8.RightAttach = ((uint)(2));
125 w8.XOptions = ((global::Gtk.AttachOptions)(4));
126 w8.YOptions = ((global::Gtk.AttachOptions)(4));
127 this.vbox1.Add (this.table1);
128 global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1]));
132 // Container child vbox1.Gtk.Box+BoxChild
133 this.hbox2 = new global::Gtk.HBox ();
134 this.hbox2.Name = "hbox2";
135 this.hbox2.Spacing = 6;
136 // Container child hbox2.Gtk.Box+BoxChild
137 this.DeleteConnectionBtn = new global::Gtk.Button ();
138 this.DeleteConnectionBtn.CanFocus = true;
139 this.DeleteConnectionBtn.Name = "DeleteConnectionBtn";
140 this.DeleteConnectionBtn.UseUnderline = true;
141 this.DeleteConnectionBtn.Label = global::Mono.Unix.Catalog.GetString ("Delete Connection");
142 this.hbox2.Add (this.DeleteConnectionBtn);
143 global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.DeleteConnectionBtn]));
147 // Container child hbox2.Gtk.Box+BoxChild
148 this.button1 = new global::Gtk.Button ();
149 this.button1.CanFocus = true;
150 this.button1.Name = "button1";
151 this.button1.UseUnderline = true;
152 this.button1.Label = global::Mono.Unix.Catalog.GetString ("Weiter");
153 this.hbox2.Add (this.button1);
154 global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button1]));
158 this.vbox1.Add (this.hbox2);
159 global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
163 this.Add (this.vbox1);
164 if ((this.Child != null)) {
165 this.Child.ShowAll ();
167 this.DefaultWidth = 400;
168 this.DefaultHeight = 300;
170 this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
171 this.ConnectionSelection.Changed += new global::System.EventHandler (this.ConnectionSelectionChanged);
172 this.button1.Pressed += new global::System.EventHandler (this.TestButtonPressed);
173 this.DeleteConnectionBtn.Pressed += new global::System.EventHandler (this.DeleteConnectionPressed);