X-Git-Url: http://wagnertech.de/git?p=mcloud.git;a=blobdiff_plain;f=mCloudGui%2Fgtk-gui%2FmCloudGui.MainWindow.cs;fp=mCloudGui%2Fgtk-gui%2FmCloudGui.MainWindow.cs;h=abd931c03353575ca0a1d4da291f5ff84d386383;hp=0000000000000000000000000000000000000000;hb=a82796d64877d73d6fd2ee86140ee788b16d402e;hpb=fd98c53230d650456bb9f0114a93d17280460809 diff --git a/mCloudGui/gtk-gui/mCloudGui.MainWindow.cs b/mCloudGui/gtk-gui/mCloudGui.MainWindow.cs new file mode 100644 index 0000000..abd931c --- /dev/null +++ b/mCloudGui/gtk-gui/mCloudGui.MainWindow.cs @@ -0,0 +1,176 @@ + +// This file has been generated by the GUI designer. Do not modify. +namespace mCloudGui +{ + public partial class MainWindow + { + private global::Gtk.VBox vbox1; + private global::Gtk.Table table1; + private global::Gtk.ComboBox ConnectionSelection; + private global::Gtk.Label label10; + private global::Gtk.Label label11; + private global::Gtk.Label label12; + private global::Gtk.Label label9; + private global::Gtk.Entry PasswordField; + private global::Gtk.Entry ServerField; + private global::Gtk.Entry UserField; + private global::Gtk.HBox hbox2; + private global::Gtk.Button DeleteConnectionBtn; + private global::Gtk.Button button1; + + protected virtual void Build () + { + global::Stetic.Gui.Initialize (this); + // Widget mCloudGui.MainWindow + this.Name = "mCloudGui.MainWindow"; + this.Title = global::Mono.Unix.Catalog.GetString ("mCloud Configuration Wizard"); + this.WindowPosition = ((global::Gtk.WindowPosition)(4)); + this.BorderWidth = ((uint)(3)); + // Container child mCloudGui.MainWindow.Gtk.Container+ContainerChild + this.vbox1 = new global::Gtk.VBox (); + this.vbox1.Name = "vbox1"; + this.vbox1.Spacing = 6; + // Container child vbox1.Gtk.Box+BoxChild + this.table1 = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false); + this.table1.Name = "table1"; + this.table1.RowSpacing = ((uint)(6)); + this.table1.ColumnSpacing = ((uint)(6)); + // Container child table1.Gtk.Table+TableChild + this.ConnectionSelection = global::Gtk.ComboBox.NewText (); + this.ConnectionSelection.Name = "ConnectionSelection"; + this.table1.Add (this.ConnectionSelection); + global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.ConnectionSelection])); + w1.LeftAttach = ((uint)(1)); + w1.RightAttach = ((uint)(2)); + w1.XOptions = ((global::Gtk.AttachOptions)(4)); + w1.YOptions = ((global::Gtk.AttachOptions)(4)); + // Container child table1.Gtk.Table+TableChild + this.label10 = new global::Gtk.Label (); + this.label10.Name = "label10"; + this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Server"); + this.table1.Add (this.label10); + global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.label10])); + w2.TopAttach = ((uint)(1)); + w2.BottomAttach = ((uint)(2)); + w2.XOptions = ((global::Gtk.AttachOptions)(4)); + w2.YOptions = ((global::Gtk.AttachOptions)(4)); + // Container child table1.Gtk.Table+TableChild + this.label11 = new global::Gtk.Label (); + this.label11.Name = "label11"; + this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("User"); + this.table1.Add (this.label11); + global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label11])); + w3.TopAttach = ((uint)(2)); + w3.BottomAttach = ((uint)(3)); + w3.XOptions = ((global::Gtk.AttachOptions)(4)); + w3.YOptions = ((global::Gtk.AttachOptions)(4)); + // Container child table1.Gtk.Table+TableChild + this.label12 = new global::Gtk.Label (); + this.label12.Name = "label12"; + this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Password"); + this.table1.Add (this.label12); + global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label12])); + w4.TopAttach = ((uint)(3)); + w4.BottomAttach = ((uint)(4)); + w4.XOptions = ((global::Gtk.AttachOptions)(4)); + w4.YOptions = ((global::Gtk.AttachOptions)(4)); + // Container child table1.Gtk.Table+TableChild + this.label9 = new global::Gtk.Label (); + this.label9.Name = "label9"; + this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Connection Selection"); + this.table1.Add (this.label9); + global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9])); + w5.XOptions = ((global::Gtk.AttachOptions)(4)); + w5.YOptions = ((global::Gtk.AttachOptions)(4)); + // Container child table1.Gtk.Table+TableChild + this.PasswordField = new global::Gtk.Entry (); + this.PasswordField.CanFocus = true; + this.PasswordField.Name = "PasswordField"; + this.PasswordField.IsEditable = true; + this.PasswordField.InvisibleChar = '●'; + this.table1.Add (this.PasswordField); + global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.PasswordField])); + w6.TopAttach = ((uint)(3)); + w6.BottomAttach = ((uint)(4)); + w6.LeftAttach = ((uint)(1)); + w6.RightAttach = ((uint)(2)); + w6.XOptions = ((global::Gtk.AttachOptions)(4)); + w6.YOptions = ((global::Gtk.AttachOptions)(4)); + // Container child table1.Gtk.Table+TableChild + this.ServerField = new global::Gtk.Entry (); + this.ServerField.CanFocus = true; + this.ServerField.Name = "ServerField"; + this.ServerField.IsEditable = true; + this.ServerField.InvisibleChar = '●'; + this.table1.Add (this.ServerField); + global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.ServerField])); + w7.TopAttach = ((uint)(1)); + w7.BottomAttach = ((uint)(2)); + w7.LeftAttach = ((uint)(1)); + w7.RightAttach = ((uint)(2)); + w7.XOptions = ((global::Gtk.AttachOptions)(4)); + w7.YOptions = ((global::Gtk.AttachOptions)(4)); + // Container child table1.Gtk.Table+TableChild + this.UserField = new global::Gtk.Entry (); + this.UserField.CanFocus = true; + this.UserField.Name = "UserField"; + this.UserField.IsEditable = true; + this.UserField.InvisibleChar = '●'; + this.table1.Add (this.UserField); + global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.UserField])); + w8.TopAttach = ((uint)(2)); + w8.BottomAttach = ((uint)(3)); + w8.LeftAttach = ((uint)(1)); + w8.RightAttach = ((uint)(2)); + w8.XOptions = ((global::Gtk.AttachOptions)(4)); + w8.YOptions = ((global::Gtk.AttachOptions)(4)); + this.vbox1.Add (this.table1); + global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1])); + w9.Position = 0; + w9.Expand = false; + w9.Fill = false; + // Container child vbox1.Gtk.Box+BoxChild + this.hbox2 = new global::Gtk.HBox (); + this.hbox2.Name = "hbox2"; + this.hbox2.Spacing = 6; + // Container child hbox2.Gtk.Box+BoxChild + this.DeleteConnectionBtn = new global::Gtk.Button (); + this.DeleteConnectionBtn.CanFocus = true; + this.DeleteConnectionBtn.Name = "DeleteConnectionBtn"; + this.DeleteConnectionBtn.UseUnderline = true; + this.DeleteConnectionBtn.Label = global::Mono.Unix.Catalog.GetString ("Delete Connection"); + this.hbox2.Add (this.DeleteConnectionBtn); + global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.DeleteConnectionBtn])); + w10.Position = 0; + w10.Expand = false; + w10.Fill = false; + // Container child hbox2.Gtk.Box+BoxChild + this.button1 = new global::Gtk.Button (); + this.button1.CanFocus = true; + this.button1.Name = "button1"; + this.button1.UseUnderline = true; + this.button1.Label = global::Mono.Unix.Catalog.GetString ("Weiter"); + this.hbox2.Add (this.button1); + global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button1])); + w11.Position = 1; + w11.Expand = false; + w11.Fill = false; + this.vbox1.Add (this.hbox2); + global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); + w12.Position = 1; + w12.Expand = false; + w12.Fill = false; + this.Add (this.vbox1); + if ((this.Child != null)) { + this.Child.ShowAll (); + } + this.DefaultWidth = 400; + this.DefaultHeight = 300; + this.Show (); + this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); + this.ConnectionSelection.Changed += new global::System.EventHandler (this.ConnectionSelectionChanged); + this.button1.Pressed += new global::System.EventHandler (this.TestButtonPressed); + this.DeleteConnectionBtn.Pressed += new global::System.EventHandler (this.DeleteConnectionPressed); + } + } +}