Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
comparison gtk-gui/IBBoard.WarFoundry.GTK.FrmNewArmy.cs @ 40:0bd9c85d3c5d
Re #86: Complete initial GTK# UI
* Add sln to make solution loading easier
* Commit rebuild UI files
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 07 Aug 2010 19:56:05 +0000 |
parents | d68992a831df |
children | 23238d998535 |
comparison
equal
deleted
inserted
replaced
39:146b7a893a01 | 40:0bd9c85d3c5d |
---|---|
1 // ------------------------------------------------------------------------------ | 1 |
2 // <autogenerated> | 2 // This file has been generated by the GUI designer. Do not modify. |
3 // This code was generated by a tool. | 3 namespace IBBoard.WarFoundry.GTK |
4 // | 4 { |
5 // | 5 public partial class FrmNewArmy |
6 // Changes to this file may cause incorrect behavior and will be lost if | 6 { |
7 // the code is regenerated. | 7 private global::Gtk.Table table1; |
8 // </autogenerated> | 8 |
9 // ------------------------------------------------------------------------------ | 9 private global::Gtk.ScrolledWindow GtkScrolledWindow; |
10 | 10 |
11 namespace IBBoard.WarFoundry.GTK { | 11 private global::Gtk.TreeView lstRaces; |
12 | 12 |
13 | 13 private global::Gtk.HBox hbox2; |
14 public partial class FrmNewArmy { | 14 |
15 | 15 private global::Gtk.SpinButton sbPointsValue; |
16 private Gtk.Table table1; | 16 |
17 | 17 private global::Gtk.Label label1; |
18 private Gtk.ScrolledWindow GtkScrolledWindow; | 18 |
19 | 19 private global::Gtk.Label label2; |
20 private Gtk.TreeView lstRaces; | 20 |
21 | 21 private global::Gtk.Label label3; |
22 private Gtk.HBox hbox2; | 22 |
23 | 23 private global::Gtk.Label label4; |
24 private Gtk.SpinButton sbPointsValue; | 24 |
25 | 25 private global::Gtk.ComboBoxEntry systemCombo; |
26 private Gtk.Label label1; | 26 |
27 | 27 private global::Gtk.Entry txtArmyName; |
28 private Gtk.Label label2; | 28 |
29 | 29 private global::Gtk.Button bttnCancel; |
30 private Gtk.Label label3; | 30 |
31 | 31 private global::Gtk.Button bttnCreate; |
32 private Gtk.Label label4; | 32 |
33 | 33 protected virtual void Build() |
34 private Gtk.ComboBoxEntry systemCombo; | 34 { |
35 | 35 global::Stetic.Gui.Initialize(this); |
36 private Gtk.Entry txtArmyName; | 36 // Widget IBBoard.WarFoundry.GTK.FrmNewArmy |
37 | 37 this.Events = ((global::Gdk.EventMask)(256)); |
38 private Gtk.Button bttnCancel; | 38 this.Name = "IBBoard.WarFoundry.GTK.FrmNewArmy"; |
39 | 39 this.Title = global::Mono.Unix.Catalog.GetString("Create new army"); |
40 private Gtk.Button bttnCreate; | 40 this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-new", global::Gtk.IconSize.Menu); |
41 | 41 this.WindowPosition = ((global::Gtk.WindowPosition)(4)); |
42 protected virtual void Build() { | 42 this.SkipPagerHint = true; |
43 Stetic.Gui.Initialize(this); | 43 this.SkipTaskbarHint = true; |
44 // Widget IBBoard.WarFoundry.GTK.FrmNewArmy | 44 // Internal child IBBoard.WarFoundry.GTK.FrmNewArmy.VBox |
45 this.Events = ((Gdk.EventMask)(256)); | 45 global::Gtk.VBox w1 = this.VBox; |
46 this.Name = "IBBoard.WarFoundry.GTK.FrmNewArmy"; | 46 w1.CanFocus = true; |
47 this.Title = Mono.Unix.Catalog.GetString("Create new army"); | 47 w1.Events = ((global::Gdk.EventMask)(256)); |
48 this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-new", Gtk.IconSize.Menu, 16); | 48 w1.Name = "dialog_VBox"; |
49 this.WindowPosition = ((Gtk.WindowPosition)(4)); | 49 w1.BorderWidth = ((uint)(2)); |
50 this.SkipPagerHint = true; | 50 // Container child dialog_VBox.Gtk.Box+BoxChild |
51 this.SkipTaskbarHint = true; | 51 this.table1 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); |
52 // Internal child IBBoard.WarFoundry.GTK.FrmNewArmy.VBox | 52 this.table1.Name = "table1"; |
53 Gtk.VBox w1 = this.VBox; | 53 this.table1.RowSpacing = ((uint)(6)); |
54 w1.CanFocus = true; | 54 this.table1.ColumnSpacing = ((uint)(6)); |
55 w1.Events = ((Gdk.EventMask)(256)); | 55 // Container child table1.Gtk.Table+TableChild |
56 w1.Name = "dialog_VBox"; | 56 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); |
57 w1.BorderWidth = ((uint)(2)); | 57 this.GtkScrolledWindow.Name = "GtkScrolledWindow"; |
58 // Container child dialog_VBox.Gtk.Box+BoxChild | 58 this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); |
59 this.table1 = new Gtk.Table(((uint)(4)), ((uint)(2)), false); | 59 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild |
60 this.table1.Name = "table1"; | 60 this.lstRaces = new global::Gtk.TreeView(); |
61 this.table1.RowSpacing = ((uint)(6)); | 61 this.lstRaces.HeightRequest = 150; |
62 this.table1.ColumnSpacing = ((uint)(6)); | 62 this.lstRaces.CanFocus = true; |
63 // Container child table1.Gtk.Table+TableChild | 63 this.lstRaces.Name = "lstRaces"; |
64 this.GtkScrolledWindow = new Gtk.ScrolledWindow(); | 64 this.lstRaces.HeadersVisible = false; |
65 this.GtkScrolledWindow.Name = "GtkScrolledWindow"; | 65 this.lstRaces.RulesHint = true; |
66 this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); | 66 this.GtkScrolledWindow.Add(this.lstRaces); |
67 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild | 67 this.table1.Add(this.GtkScrolledWindow); |
68 this.lstRaces = new Gtk.TreeView(); | 68 global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); |
69 this.lstRaces.HeightRequest = 150; | 69 w3.TopAttach = ((uint)(1)); |
70 this.lstRaces.CanFocus = true; | 70 w3.BottomAttach = ((uint)(2)); |
71 this.lstRaces.Name = "lstRaces"; | 71 w3.LeftAttach = ((uint)(1)); |
72 this.lstRaces.HeadersVisible = false; | 72 w3.RightAttach = ((uint)(2)); |
73 this.lstRaces.RulesHint = true; | 73 w3.XOptions = ((global::Gtk.AttachOptions)(4)); |
74 this.GtkScrolledWindow.Add(this.lstRaces); | 74 w3.YOptions = ((global::Gtk.AttachOptions)(4)); |
75 this.table1.Add(this.GtkScrolledWindow); | 75 // Container child table1.Gtk.Table+TableChild |
76 Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); | 76 this.hbox2 = new global::Gtk.HBox(); |
77 w3.TopAttach = ((uint)(1)); | 77 this.hbox2.Name = "hbox2"; |
78 w3.BottomAttach = ((uint)(2)); | 78 // Container child hbox2.Gtk.Box+BoxChild |
79 w3.LeftAttach = ((uint)(1)); | 79 this.sbPointsValue = new global::Gtk.SpinButton(0, 2000000000, 100); |
80 w3.RightAttach = ((uint)(2)); | 80 this.sbPointsValue.WidthRequest = 150; |
81 w3.XOptions = ((Gtk.AttachOptions)(4)); | 81 this.sbPointsValue.CanFocus = true; |
82 w3.YOptions = ((Gtk.AttachOptions)(4)); | 82 this.sbPointsValue.Name = "sbPointsValue"; |
83 // Container child table1.Gtk.Table+TableChild | 83 this.sbPointsValue.Adjustment.PageIncrement = 1000; |
84 this.hbox2 = new Gtk.HBox(); | 84 this.sbPointsValue.ClimbRate = 100; |
85 this.hbox2.Name = "hbox2"; | 85 this.sbPointsValue.Numeric = true; |
86 // Container child hbox2.Gtk.Box+BoxChild | 86 this.sbPointsValue.Value = 1000; |
87 this.sbPointsValue = new Gtk.SpinButton(0, 2000000000, 100); | 87 this.hbox2.Add(this.sbPointsValue); |
88 this.sbPointsValue.WidthRequest = 150; | 88 global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.sbPointsValue])); |
89 this.sbPointsValue.CanFocus = true; | 89 w4.Position = 0; |
90 this.sbPointsValue.Name = "sbPointsValue"; | 90 w4.Expand = false; |
91 this.sbPointsValue.Adjustment.PageIncrement = 1000; | 91 w4.Fill = false; |
92 this.sbPointsValue.ClimbRate = 100; | 92 this.table1.Add(this.hbox2); |
93 this.sbPointsValue.Numeric = true; | 93 global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox2])); |
94 this.sbPointsValue.Value = 1000; | 94 w5.TopAttach = ((uint)(3)); |
95 this.hbox2.Add(this.sbPointsValue); | 95 w5.BottomAttach = ((uint)(4)); |
96 Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox2[this.sbPointsValue])); | 96 w5.LeftAttach = ((uint)(1)); |
97 w4.Position = 0; | 97 w5.RightAttach = ((uint)(2)); |
98 w4.Expand = false; | 98 w5.XOptions = ((global::Gtk.AttachOptions)(4)); |
99 w4.Fill = false; | 99 w5.YOptions = ((global::Gtk.AttachOptions)(4)); |
100 this.table1.Add(this.hbox2); | 100 // Container child table1.Gtk.Table+TableChild |
101 Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.hbox2])); | 101 this.label1 = new global::Gtk.Label(); |
102 w5.TopAttach = ((uint)(3)); | 102 this.label1.Name = "label1"; |
103 w5.BottomAttach = ((uint)(4)); | 103 this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Race"); |
104 w5.LeftAttach = ((uint)(1)); | 104 this.table1.Add(this.label1); |
105 w5.RightAttach = ((uint)(2)); | 105 global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); |
106 w5.XOptions = ((Gtk.AttachOptions)(4)); | 106 w6.TopAttach = ((uint)(1)); |
107 w5.YOptions = ((Gtk.AttachOptions)(4)); | 107 w6.BottomAttach = ((uint)(2)); |
108 // Container child table1.Gtk.Table+TableChild | 108 w6.XOptions = ((global::Gtk.AttachOptions)(4)); |
109 this.label1 = new Gtk.Label(); | 109 w6.YOptions = ((global::Gtk.AttachOptions)(4)); |
110 this.label1.Name = "label1"; | 110 // Container child table1.Gtk.Table+TableChild |
111 this.label1.LabelProp = Mono.Unix.Catalog.GetString("Race"); | 111 this.label2 = new global::Gtk.Label(); |
112 this.table1.Add(this.label1); | 112 this.label2.Name = "label2"; |
113 Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.label1])); | 113 this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Army name"); |
114 w6.TopAttach = ((uint)(1)); | 114 this.table1.Add(this.label2); |
115 w6.BottomAttach = ((uint)(2)); | 115 global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); |
116 w6.XOptions = ((Gtk.AttachOptions)(4)); | 116 w7.TopAttach = ((uint)(2)); |
117 w6.YOptions = ((Gtk.AttachOptions)(4)); | 117 w7.BottomAttach = ((uint)(3)); |
118 // Container child table1.Gtk.Table+TableChild | 118 w7.XOptions = ((global::Gtk.AttachOptions)(4)); |
119 this.label2 = new Gtk.Label(); | 119 w7.YOptions = ((global::Gtk.AttachOptions)(4)); |
120 this.label2.Name = "label2"; | 120 // Container child table1.Gtk.Table+TableChild |
121 this.label2.LabelProp = Mono.Unix.Catalog.GetString("Army name"); | 121 this.label3 = new global::Gtk.Label(); |
122 this.table1.Add(this.label2); | 122 this.label3.Name = "label3"; |
123 Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.label2])); | 123 this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Points value"); |
124 w7.TopAttach = ((uint)(2)); | 124 this.table1.Add(this.label3); |
125 w7.BottomAttach = ((uint)(3)); | 125 global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); |
126 w7.XOptions = ((Gtk.AttachOptions)(4)); | 126 w8.TopAttach = ((uint)(3)); |
127 w7.YOptions = ((Gtk.AttachOptions)(4)); | 127 w8.BottomAttach = ((uint)(4)); |
128 // Container child table1.Gtk.Table+TableChild | 128 w8.XOptions = ((global::Gtk.AttachOptions)(4)); |
129 this.label3 = new Gtk.Label(); | 129 w8.YOptions = ((global::Gtk.AttachOptions)(4)); |
130 this.label3.Name = "label3"; | 130 // Container child table1.Gtk.Table+TableChild |
131 this.label3.LabelProp = Mono.Unix.Catalog.GetString("Points value"); | 131 this.label4 = new global::Gtk.Label(); |
132 this.table1.Add(this.label3); | 132 this.label4.Name = "label4"; |
133 Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.label3])); | 133 this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("game system"); |
134 w8.TopAttach = ((uint)(3)); | 134 this.table1.Add(this.label4); |
135 w8.BottomAttach = ((uint)(4)); | 135 global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); |
136 w8.XOptions = ((Gtk.AttachOptions)(4)); | 136 w9.XOptions = ((global::Gtk.AttachOptions)(4)); |
137 w8.YOptions = ((Gtk.AttachOptions)(4)); | 137 w9.YOptions = ((global::Gtk.AttachOptions)(4)); |
138 // Container child table1.Gtk.Table+TableChild | 138 // Container child table1.Gtk.Table+TableChild |
139 this.label4 = new Gtk.Label(); | 139 this.systemCombo = global::Gtk.ComboBoxEntry.NewText(); |
140 this.label4.Name = "label4"; | 140 this.systemCombo.Name = "systemCombo"; |
141 this.label4.LabelProp = Mono.Unix.Catalog.GetString("game system"); | 141 this.table1.Add(this.systemCombo); |
142 this.table1.Add(this.label4); | 142 global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.systemCombo])); |
143 Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.label4])); | 143 w10.LeftAttach = ((uint)(1)); |
144 w9.XOptions = ((Gtk.AttachOptions)(4)); | 144 w10.RightAttach = ((uint)(2)); |
145 w9.YOptions = ((Gtk.AttachOptions)(4)); | 145 w10.YOptions = ((global::Gtk.AttachOptions)(4)); |
146 // Container child table1.Gtk.Table+TableChild | 146 // Container child table1.Gtk.Table+TableChild |
147 this.systemCombo = Gtk.ComboBoxEntry.NewText(); | 147 this.txtArmyName = new global::Gtk.Entry(); |
148 this.systemCombo.Name = "systemCombo"; | 148 this.txtArmyName.CanFocus = true; |
149 this.table1.Add(this.systemCombo); | 149 this.txtArmyName.Name = "txtArmyName"; |
150 Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.systemCombo])); | 150 this.txtArmyName.IsEditable = true; |
151 w10.LeftAttach = ((uint)(1)); | 151 this.txtArmyName.InvisibleChar = '•'; |
152 w10.RightAttach = ((uint)(2)); | 152 this.table1.Add(this.txtArmyName); |
153 w10.YOptions = ((Gtk.AttachOptions)(4)); | 153 global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.txtArmyName])); |
154 // Container child table1.Gtk.Table+TableChild | 154 w11.TopAttach = ((uint)(2)); |
155 this.txtArmyName = new Gtk.Entry(); | 155 w11.BottomAttach = ((uint)(3)); |
156 this.txtArmyName.CanFocus = true; | 156 w11.LeftAttach = ((uint)(1)); |
157 this.txtArmyName.Name = "txtArmyName"; | 157 w11.RightAttach = ((uint)(2)); |
158 this.txtArmyName.IsEditable = true; | 158 w11.XOptions = ((global::Gtk.AttachOptions)(4)); |
159 this.txtArmyName.InvisibleChar = '•'; | 159 w11.YOptions = ((global::Gtk.AttachOptions)(4)); |
160 this.table1.Add(this.txtArmyName); | 160 w1.Add(this.table1); |
161 Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.txtArmyName])); | 161 global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(w1[this.table1])); |
162 w11.TopAttach = ((uint)(2)); | 162 w12.Position = 0; |
163 w11.BottomAttach = ((uint)(3)); | 163 w12.Expand = false; |
164 w11.LeftAttach = ((uint)(1)); | 164 w12.Fill = false; |
165 w11.RightAttach = ((uint)(2)); | 165 w12.Padding = ((uint)(6)); |
166 w11.XOptions = ((Gtk.AttachOptions)(4)); | 166 // Internal child IBBoard.WarFoundry.GTK.FrmNewArmy.ActionArea |
167 w11.YOptions = ((Gtk.AttachOptions)(4)); | 167 global::Gtk.HButtonBox w13 = this.ActionArea; |
168 w1.Add(this.table1); | 168 w13.CanFocus = true; |
169 Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(w1[this.table1])); | 169 w13.Events = ((global::Gdk.EventMask)(256)); |
170 w12.Position = 0; | 170 w13.Name = "WarFoundrySharp.FrmNewArmy_ActionArea"; |
171 w12.Expand = false; | 171 w13.Spacing = 6; |
172 w12.Fill = false; | 172 w13.BorderWidth = ((uint)(5)); |
173 w12.Padding = ((uint)(6)); | 173 w13.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); |
174 // Internal child IBBoard.WarFoundry.GTK.FrmNewArmy.ActionArea | 174 // Container child WarFoundrySharp.FrmNewArmy_ActionArea.Gtk.ButtonBox+ButtonBoxChild |
175 Gtk.HButtonBox w13 = this.ActionArea; | 175 this.bttnCancel = new global::Gtk.Button(); |
176 w13.CanFocus = true; | 176 this.bttnCancel.CanFocus = true; |
177 w13.Events = ((Gdk.EventMask)(256)); | 177 this.bttnCancel.Name = "bttnCancel"; |
178 w13.Name = "WarFoundrySharp.FrmNewArmy_ActionArea"; | 178 this.bttnCancel.UseStock = true; |
179 w13.Spacing = 6; | 179 this.bttnCancel.UseUnderline = true; |
180 w13.BorderWidth = ((uint)(5)); | 180 this.bttnCancel.Label = "gtk-cancel"; |
181 w13.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); | 181 this.AddActionWidget(this.bttnCancel, -6); |
182 // Container child WarFoundrySharp.FrmNewArmy_ActionArea.Gtk.ButtonBox+ButtonBoxChild | 182 global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13[this.bttnCancel])); |
183 this.bttnCancel = new Gtk.Button(); | 183 w14.Expand = false; |
184 this.bttnCancel.CanFocus = true; | 184 w14.Fill = false; |
185 this.bttnCancel.Name = "bttnCancel"; | 185 // Container child WarFoundrySharp.FrmNewArmy_ActionArea.Gtk.ButtonBox+ButtonBoxChild |
186 this.bttnCancel.UseStock = true; | 186 this.bttnCreate = new global::Gtk.Button(); |
187 this.bttnCancel.UseUnderline = true; | 187 this.bttnCreate.Sensitive = false; |
188 this.bttnCancel.Label = "gtk-cancel"; | 188 this.bttnCreate.CanDefault = true; |
189 this.AddActionWidget(this.bttnCancel, -6); | 189 this.bttnCreate.CanFocus = true; |
190 Gtk.ButtonBox.ButtonBoxChild w14 = ((Gtk.ButtonBox.ButtonBoxChild)(w13[this.bttnCancel])); | 190 this.bttnCreate.Name = "bttnCreate"; |
191 w14.Expand = false; | 191 this.bttnCreate.UseUnderline = true; |
192 w14.Fill = false; | 192 // Container child bttnCreate.Gtk.Container+ContainerChild |
193 // Container child WarFoundrySharp.FrmNewArmy_ActionArea.Gtk.ButtonBox+ButtonBoxChild | 193 global::Gtk.Alignment w15 = new global::Gtk.Alignment(0.5f, 0.5f, 0f, 0f); |
194 this.bttnCreate = new Gtk.Button(); | 194 // Container child GtkAlignment.Gtk.Container+ContainerChild |
195 this.bttnCreate.Sensitive = false; | 195 global::Gtk.HBox w16 = new global::Gtk.HBox(); |
196 this.bttnCreate.CanDefault = true; | 196 w16.Spacing = 2; |
197 this.bttnCreate.CanFocus = true; | 197 // Container child GtkHBox.Gtk.Container+ContainerChild |
198 this.bttnCreate.Name = "bttnCreate"; | 198 global::Gtk.Image w17 = new global::Gtk.Image(); |
199 this.bttnCreate.UseUnderline = true; | 199 w17.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-ok", global::Gtk.IconSize.Menu); |
200 // Container child bttnCreate.Gtk.Container+ContainerChild | 200 w16.Add(w17); |
201 Gtk.Alignment w15 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); | 201 // Container child GtkHBox.Gtk.Container+ContainerChild |
202 // Container child GtkAlignment.Gtk.Container+ContainerChild | 202 global::Gtk.Label w19 = new global::Gtk.Label(); |
203 Gtk.HBox w16 = new Gtk.HBox(); | 203 w19.LabelProp = global::Mono.Unix.Catalog.GetString("C_reate"); |
204 w16.Spacing = 2; | 204 w19.UseUnderline = true; |
205 // Container child GtkHBox.Gtk.Container+ContainerChild | 205 w16.Add(w19); |
206 Gtk.Image w17 = new Gtk.Image(); | 206 w15.Add(w16); |
207 w17.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-ok", Gtk.IconSize.Menu, 16); | 207 this.bttnCreate.Add(w15); |
208 w16.Add(w17); | 208 this.AddActionWidget(this.bttnCreate, -5); |
209 // Container child GtkHBox.Gtk.Container+ContainerChild | 209 global::Gtk.ButtonBox.ButtonBoxChild w23 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13[this.bttnCreate])); |
210 Gtk.Label w19 = new Gtk.Label(); | 210 w23.Position = 1; |
211 w19.LabelProp = Mono.Unix.Catalog.GetString("C_reate"); | 211 w23.Expand = false; |
212 w19.UseUnderline = true; | 212 w23.Fill = false; |
213 w16.Add(w19); | 213 if ((this.Child != null)) |
214 w15.Add(w16); | 214 { |
215 this.bttnCreate.Add(w15); | 215 this.Child.ShowAll(); |
216 this.AddActionWidget(this.bttnCreate, -5); | 216 } |
217 Gtk.ButtonBox.ButtonBoxChild w23 = ((Gtk.ButtonBox.ButtonBoxChild)(w13[this.bttnCreate])); | 217 this.DefaultWidth = 370; |
218 w23.Position = 1; | 218 this.DefaultHeight = 348; |
219 w23.Expand = false; | 219 this.Show(); |
220 w23.Fill = false; | 220 this.txtArmyName.Changed += new global::System.EventHandler(this.OnTextChanged); |
221 if ((this.Child != null)) { | 221 this.systemCombo.Changed += new global::System.EventHandler(this.OnSystemComboChanged); |
222 this.Child.ShowAll(); | 222 this.sbPointsValue.ChangeValue += new global::Gtk.ChangeValueHandler(this.OnSpinChangeValue); |
223 } | 223 this.sbPointsValue.ValueChanged += new global::System.EventHandler(this.OnSpinValueChanged); |
224 this.DefaultWidth = 370; | 224 this.sbPointsValue.Changed += new global::System.EventHandler(this.OnSpinValueChanged); |
225 this.DefaultHeight = 348; | 225 this.bttnCancel.Clicked += new global::System.EventHandler(this.OnCancelClicked); |
226 this.Show(); | 226 this.bttnCreate.Clicked += new global::System.EventHandler(this.OnCreateClicked); |
227 this.txtArmyName.Changed += new System.EventHandler(this.OnTextChanged); | 227 } |
228 this.systemCombo.Changed += new System.EventHandler(this.OnSystemComboChanged); | 228 } |
229 this.sbPointsValue.ChangeValue += new Gtk.ChangeValueHandler(this.OnSpinChangeValue); | |
230 this.sbPointsValue.ValueChanged += new System.EventHandler(this.OnSpinValueChanged); | |
231 this.sbPointsValue.Changed += new System.EventHandler(this.OnSpinValueChanged); | |
232 this.bttnCancel.Clicked += new System.EventHandler(this.OnCancelClicked); | |
233 this.bttnCreate.Clicked += new System.EventHandler(this.OnCreateClicked); | |
234 } | |
235 } | |
236 } | 229 } |