Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
comparison gtk-gui/IBBoard.WarFoundry.GTK.FrmNewArmy.cs @ 7:58961ff391d4
Closes #30 - Convert to .csproj
* Convert GTK# GUI to .csproj and remove .mdp
Also:
* Remove rogue Dialog class
* Commit a number of generated GUI changes that MonoDevelop made and won't un-make
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 17 Feb 2009 16:41:55 +0000 |
parents | cfc7683e73f9 |
children | ca863c693550 |
comparison
equal
deleted
inserted
replaced
6:cfc7683e73f9 | 7:58961ff391d4 |
---|---|
1 // ------------------------------------------------------------------------------ | 1 // ------------------------------------------------------------------------------ |
2 // <autogenerated> | 2 // <autogenerated> |
3 // This code was generated by a tool. | 3 // This code was generated by a tool. |
4 // Mono Runtime Version: 2.0.50727.1433 | 4 // |
5 // | 5 // |
6 // Changes to this file may cause incorrect behavior and will be lost if | 6 // Changes to this file may cause incorrect behavior and will be lost if |
7 // the code is regenerated. | 7 // the code is regenerated. |
8 // </autogenerated> | 8 // </autogenerated> |
9 // ------------------------------------------------------------------------------ | 9 // ------------------------------------------------------------------------------ |
38 protected virtual void Build() { | 38 protected virtual void Build() { |
39 Stetic.Gui.Initialize(this); | 39 Stetic.Gui.Initialize(this); |
40 // Widget IBBoard.WarFoundry.GTK.FrmNewArmy | 40 // Widget IBBoard.WarFoundry.GTK.FrmNewArmy |
41 this.Events = ((Gdk.EventMask)(256)); | 41 this.Events = ((Gdk.EventMask)(256)); |
42 this.Name = "IBBoard.WarFoundry.GTK.FrmNewArmy"; | 42 this.Name = "IBBoard.WarFoundry.GTK.FrmNewArmy"; |
43 this.Title = "Create new army"; | 43 this.Title = Mono.Unix.Catalog.GetString("Create new army"); |
44 this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-new", Gtk.IconSize.Menu, 16); | 44 this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-new", Gtk.IconSize.Menu, 16); |
45 this.WindowPosition = ((Gtk.WindowPosition)(4)); | 45 this.WindowPosition = ((Gtk.WindowPosition)(4)); |
46 this.SkipPagerHint = true; | 46 this.SkipPagerHint = true; |
47 this.SkipTaskbarHint = true; | 47 this.SkipTaskbarHint = true; |
48 this.HasSeparator = false; | 48 this.HasSeparator = false; |
99 w5.RightAttach = ((uint)(2)); | 99 w5.RightAttach = ((uint)(2)); |
100 w5.YOptions = ((Gtk.AttachOptions)(4)); | 100 w5.YOptions = ((Gtk.AttachOptions)(4)); |
101 // Container child table1.Gtk.Table+TableChild | 101 // Container child table1.Gtk.Table+TableChild |
102 this.label1 = new Gtk.Label(); | 102 this.label1 = new Gtk.Label(); |
103 this.label1.Name = "label1"; | 103 this.label1.Name = "label1"; |
104 this.label1.LabelProp = "Race"; | 104 this.label1.LabelProp = Mono.Unix.Catalog.GetString("Race"); |
105 this.table1.Add(this.label1); | 105 this.table1.Add(this.label1); |
106 Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.label1])); | 106 Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.label1])); |
107 w6.XOptions = ((Gtk.AttachOptions)(4)); | 107 w6.XOptions = ((Gtk.AttachOptions)(4)); |
108 w6.YOptions = ((Gtk.AttachOptions)(4)); | 108 w6.YOptions = ((Gtk.AttachOptions)(4)); |
109 // Container child table1.Gtk.Table+TableChild | 109 // Container child table1.Gtk.Table+TableChild |
110 this.label2 = new Gtk.Label(); | 110 this.label2 = new Gtk.Label(); |
111 this.label2.Name = "label2"; | 111 this.label2.Name = "label2"; |
112 this.label2.LabelProp = "Army name"; | 112 this.label2.LabelProp = Mono.Unix.Catalog.GetString("Army name"); |
113 this.table1.Add(this.label2); | 113 this.table1.Add(this.label2); |
114 Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.label2])); | 114 Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.label2])); |
115 w7.TopAttach = ((uint)(1)); | 115 w7.TopAttach = ((uint)(1)); |
116 w7.BottomAttach = ((uint)(2)); | 116 w7.BottomAttach = ((uint)(2)); |
117 w7.XOptions = ((Gtk.AttachOptions)(4)); | 117 w7.XOptions = ((Gtk.AttachOptions)(4)); |
118 w7.YOptions = ((Gtk.AttachOptions)(4)); | 118 w7.YOptions = ((Gtk.AttachOptions)(4)); |
119 // Container child table1.Gtk.Table+TableChild | 119 // Container child table1.Gtk.Table+TableChild |
120 this.label3 = new Gtk.Label(); | 120 this.label3 = new Gtk.Label(); |
121 this.label3.Name = "label3"; | 121 this.label3.Name = "label3"; |
122 this.label3.LabelProp = "Points value"; | 122 this.label3.LabelProp = Mono.Unix.Catalog.GetString("Points value"); |
123 this.table1.Add(this.label3); | 123 this.table1.Add(this.label3); |
124 Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.label3])); | 124 Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.label3])); |
125 w8.TopAttach = ((uint)(2)); | 125 w8.TopAttach = ((uint)(2)); |
126 w8.BottomAttach = ((uint)(3)); | 126 w8.BottomAttach = ((uint)(3)); |
127 w8.XOptions = ((Gtk.AttachOptions)(4)); | 127 w8.XOptions = ((Gtk.AttachOptions)(4)); |
180 Gtk.Image w15 = new Gtk.Image(); | 180 Gtk.Image w15 = new Gtk.Image(); |
181 w15.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-ok", Gtk.IconSize.Menu, 16); | 181 w15.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-ok", Gtk.IconSize.Menu, 16); |
182 w14.Add(w15); | 182 w14.Add(w15); |
183 // Container child GtkHBox1.Gtk.Container+ContainerChild | 183 // Container child GtkHBox1.Gtk.Container+ContainerChild |
184 Gtk.Label w17 = new Gtk.Label(); | 184 Gtk.Label w17 = new Gtk.Label(); |
185 w17.LabelProp = "C_reate"; | 185 w17.LabelProp = Mono.Unix.Catalog.GetString("C_reate"); |
186 w17.UseUnderline = true; | 186 w17.UseUnderline = true; |
187 w14.Add(w17); | 187 w14.Add(w17); |
188 w13.Add(w14); | 188 w13.Add(w14); |
189 this.bttnCreate.Add(w13); | 189 this.bttnCreate.Add(w13); |
190 this.AddActionWidget(this.bttnCreate, -5); | 190 this.AddActionWidget(this.bttnCreate, -5); |