Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
annotate gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmNewArmy.cs @ 119:3c9b47bf8028
* Add .hgignore
* Swap solution to using AnyCPU version of NUnit project
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 30 Aug 2011 20:54:21 +0100 |
parents | a754a2d1881c |
children | 560eb34acd17 |
rev | line source |
---|---|
77 | 1 |
2 // This file has been generated by the GUI designer. Do not modify. | |
3 namespace IBBoard.WarFoundry.GUI.GTK | |
4 { | |
5 public partial class FrmNewArmy | |
6 { | |
7 private global::Gtk.Table table1; | |
8 private global::Gtk.ScrolledWindow GtkScrolledWindow; | |
9 private global::Gtk.TreeView lstRaces; | |
10 private global::Gtk.HBox hbox2; | |
11 private global::Gtk.SpinButton sbPointsValue; | |
87
40857cfb309b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
86
diff
changeset
|
12 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblArmyName; |
40857cfb309b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
86
diff
changeset
|
13 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblArmySize; |
40857cfb309b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
86
diff
changeset
|
14 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblGameSystem; |
40857cfb309b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
86
diff
changeset
|
15 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblRaceList; |
77 | 16 private global::Gtk.ComboBoxEntry systemCombo; |
17 private global::Gtk.Entry txtArmyName; | |
90
a754a2d1881c
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
87
diff
changeset
|
18 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCancel; |
a754a2d1881c
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
87
diff
changeset
|
19 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCreate; |
77 | 20 |
21 protected virtual void Build() | |
22 { | |
23 global::Stetic.Gui.Initialize(this); | |
24 // Widget IBBoard.WarFoundry.GUI.GTK.FrmNewArmy | |
25 this.Events = ((global::Gdk.EventMask)(256)); | |
26 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmNewArmy"; | |
27 this.Title = global::Mono.Unix.Catalog.GetString("Create new army"); | |
28 this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-new", global::Gtk.IconSize.Menu); | |
29 this.WindowPosition = ((global::Gtk.WindowPosition)(4)); | |
30 this.SkipPagerHint = true; | |
31 this.SkipTaskbarHint = true; | |
32 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmNewArmy.VBox | |
33 global::Gtk.VBox w1 = this.VBox; | |
34 w1.CanFocus = true; | |
35 w1.Events = ((global::Gdk.EventMask)(256)); | |
36 w1.Name = "dialog_VBox"; | |
37 w1.BorderWidth = ((uint)(2)); | |
38 // Container child dialog_VBox.Gtk.Box+BoxChild | |
39 this.table1 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); | |
40 this.table1.Name = "table1"; | |
41 this.table1.RowSpacing = ((uint)(6)); | |
42 this.table1.ColumnSpacing = ((uint)(6)); | |
43 // Container child table1.Gtk.Table+TableChild | |
44 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); | |
45 this.GtkScrolledWindow.Name = "GtkScrolledWindow"; | |
46 this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); | |
47 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild | |
48 this.lstRaces = new global::Gtk.TreeView(); | |
49 this.lstRaces.HeightRequest = 150; | |
50 this.lstRaces.CanFocus = true; | |
51 this.lstRaces.Name = "lstRaces"; | |
52 this.lstRaces.HeadersVisible = false; | |
53 this.lstRaces.RulesHint = true; | |
54 this.GtkScrolledWindow.Add(this.lstRaces); | |
55 this.table1.Add(this.GtkScrolledWindow); | |
56 global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); | |
57 w3.TopAttach = ((uint)(1)); | |
58 w3.BottomAttach = ((uint)(2)); | |
59 w3.LeftAttach = ((uint)(1)); | |
60 w3.RightAttach = ((uint)(2)); | |
61 w3.XOptions = ((global::Gtk.AttachOptions)(4)); | |
62 w3.YOptions = ((global::Gtk.AttachOptions)(4)); | |
63 // Container child table1.Gtk.Table+TableChild | |
64 this.hbox2 = new global::Gtk.HBox(); | |
65 this.hbox2.Name = "hbox2"; | |
66 // Container child hbox2.Gtk.Box+BoxChild | |
67 this.sbPointsValue = new global::Gtk.SpinButton(0, 2000000000, 100); | |
68 this.sbPointsValue.WidthRequest = 150; | |
69 this.sbPointsValue.CanFocus = true; | |
70 this.sbPointsValue.Name = "sbPointsValue"; | |
71 this.sbPointsValue.Adjustment.PageIncrement = 1000; | |
72 this.sbPointsValue.ClimbRate = 100; | |
73 this.sbPointsValue.Numeric = true; | |
74 this.sbPointsValue.Value = 1000; | |
75 this.hbox2.Add(this.sbPointsValue); | |
76 global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.sbPointsValue])); | |
77 w4.Position = 0; | |
78 w4.Expand = false; | |
79 w4.Fill = false; | |
80 this.table1.Add(this.hbox2); | |
81 global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox2])); | |
82 w5.TopAttach = ((uint)(3)); | |
83 w5.BottomAttach = ((uint)(4)); | |
84 w5.LeftAttach = ((uint)(1)); | |
85 w5.RightAttach = ((uint)(2)); | |
86 w5.XOptions = ((global::Gtk.AttachOptions)(4)); | |
87 w5.YOptions = ((global::Gtk.AttachOptions)(4)); | |
88 // Container child table1.Gtk.Table+TableChild | |
87
40857cfb309b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
86
diff
changeset
|
89 this.lblArmyName = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); |
85
bfb29a60b802
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
90 this.lblArmyName.Name = "lblArmyName"; |
bfb29a60b802
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
91 this.lblArmyName.LabelProp = global::Mono.Unix.Catalog.GetString("army name"); |
bfb29a60b802
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
92 this.table1.Add(this.lblArmyName); |
bfb29a60b802
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
93 global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.lblArmyName])); |
bfb29a60b802
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
94 w6.TopAttach = ((uint)(2)); |
bfb29a60b802
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
95 w6.BottomAttach = ((uint)(3)); |
77 | 96 w6.XOptions = ((global::Gtk.AttachOptions)(4)); |
97 w6.YOptions = ((global::Gtk.AttachOptions)(4)); | |
98 // Container child table1.Gtk.Table+TableChild | |
87
40857cfb309b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
86
diff
changeset
|
99 this.lblArmySize = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); |
85
bfb29a60b802
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
100 this.lblArmySize.Name = "lblArmySize"; |
bfb29a60b802
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
101 this.lblArmySize.LabelProp = global::Mono.Unix.Catalog.GetString("points value"); |
bfb29a60b802
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
102 this.table1.Add(this.lblArmySize); |
bfb29a60b802
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
103 global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.lblArmySize])); |
bfb29a60b802
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
104 w7.TopAttach = ((uint)(3)); |
bfb29a60b802
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
105 w7.BottomAttach = ((uint)(4)); |
77 | 106 w7.XOptions = ((global::Gtk.AttachOptions)(4)); |
107 w7.YOptions = ((global::Gtk.AttachOptions)(4)); | |
108 // Container child table1.Gtk.Table+TableChild | |
87
40857cfb309b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
86
diff
changeset
|
109 this.lblGameSystem = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); |
85
bfb29a60b802
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
110 this.lblGameSystem.Name = "lblGameSystem"; |
bfb29a60b802
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
111 this.lblGameSystem.LabelProp = global::Mono.Unix.Catalog.GetString("game system"); |
bfb29a60b802
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
112 this.table1.Add(this.lblGameSystem); |
bfb29a60b802
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
113 global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.lblGameSystem])); |
77 | 114 w8.XOptions = ((global::Gtk.AttachOptions)(4)); |
115 w8.YOptions = ((global::Gtk.AttachOptions)(4)); | |
116 // Container child table1.Gtk.Table+TableChild | |
87
40857cfb309b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
86
diff
changeset
|
117 this.lblRaceList = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); |
86
9515b57ba752
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
85
diff
changeset
|
118 this.lblRaceList.Name = "lblRaceList"; |
9515b57ba752
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
85
diff
changeset
|
119 this.lblRaceList.LabelProp = global::Mono.Unix.Catalog.GetString("race"); |
9515b57ba752
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
85
diff
changeset
|
120 this.table1.Add(this.lblRaceList); |
9515b57ba752
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
85
diff
changeset
|
121 global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.lblRaceList])); |
85
bfb29a60b802
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
122 w9.TopAttach = ((uint)(1)); |
bfb29a60b802
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
123 w9.BottomAttach = ((uint)(2)); |
77 | 124 w9.XOptions = ((global::Gtk.AttachOptions)(4)); |
125 w9.YOptions = ((global::Gtk.AttachOptions)(4)); | |
126 // Container child table1.Gtk.Table+TableChild | |
127 this.systemCombo = global::Gtk.ComboBoxEntry.NewText(); | |
128 this.systemCombo.Name = "systemCombo"; | |
129 this.table1.Add(this.systemCombo); | |
130 global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.systemCombo])); | |
131 w10.LeftAttach = ((uint)(1)); | |
132 w10.RightAttach = ((uint)(2)); | |
133 w10.YOptions = ((global::Gtk.AttachOptions)(4)); | |
134 // Container child table1.Gtk.Table+TableChild | |
135 this.txtArmyName = new global::Gtk.Entry(); | |
136 this.txtArmyName.CanFocus = true; | |
137 this.txtArmyName.Name = "txtArmyName"; | |
138 this.txtArmyName.IsEditable = true; | |
139 this.txtArmyName.InvisibleChar = '•'; | |
140 this.table1.Add(this.txtArmyName); | |
141 global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.txtArmyName])); | |
142 w11.TopAttach = ((uint)(2)); | |
143 w11.BottomAttach = ((uint)(3)); | |
144 w11.LeftAttach = ((uint)(1)); | |
145 w11.RightAttach = ((uint)(2)); | |
146 w11.XOptions = ((global::Gtk.AttachOptions)(4)); | |
147 w11.YOptions = ((global::Gtk.AttachOptions)(4)); | |
148 w1.Add(this.table1); | |
149 global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(w1[this.table1])); | |
150 w12.Position = 0; | |
151 w12.Expand = false; | |
152 w12.Fill = false; | |
153 w12.Padding = ((uint)(6)); | |
154 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmNewArmy.ActionArea | |
155 global::Gtk.HButtonBox w13 = this.ActionArea; | |
156 w13.CanFocus = true; | |
157 w13.Events = ((global::Gdk.EventMask)(256)); | |
158 w13.Name = "WarFoundrySharp.FrmNewArmy_ActionArea"; | |
159 w13.Spacing = 6; | |
160 w13.BorderWidth = ((uint)(5)); | |
161 w13.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); | |
162 // Container child WarFoundrySharp.FrmNewArmy_ActionArea.Gtk.ButtonBox+ButtonBoxChild | |
90
a754a2d1881c
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
87
diff
changeset
|
163 this.bttnCancel = new global::IBBoard.GtkSharp.Translatable.TranslatableButton(); |
77 | 164 this.bttnCancel.CanFocus = true; |
165 this.bttnCancel.Name = "bttnCancel"; | |
166 this.bttnCancel.UseStock = true; | |
167 this.bttnCancel.UseUnderline = true; | |
168 this.bttnCancel.Label = "gtk-cancel"; | |
169 this.AddActionWidget(this.bttnCancel, -6); | |
170 global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13[this.bttnCancel])); | |
171 w14.Expand = false; | |
172 w14.Fill = false; | |
173 // Container child WarFoundrySharp.FrmNewArmy_ActionArea.Gtk.ButtonBox+ButtonBoxChild | |
90
a754a2d1881c
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
87
diff
changeset
|
174 this.bttnCreate = new global::IBBoard.GtkSharp.Translatable.TranslatableButton(); |
77 | 175 this.bttnCreate.Sensitive = false; |
176 this.bttnCreate.CanDefault = true; | |
177 this.bttnCreate.CanFocus = true; | |
178 this.bttnCreate.Name = "bttnCreate"; | |
86
9515b57ba752
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
85
diff
changeset
|
179 this.bttnCreate.UseStock = true; |
77 | 180 this.bttnCreate.UseUnderline = true; |
86
9515b57ba752
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
85
diff
changeset
|
181 this.bttnCreate.Label = "gtk-ok"; |
77 | 182 this.AddActionWidget(this.bttnCreate, -5); |
86
9515b57ba752
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
85
diff
changeset
|
183 global::Gtk.ButtonBox.ButtonBoxChild w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13[this.bttnCreate])); |
9515b57ba752
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
85
diff
changeset
|
184 w15.Position = 1; |
9515b57ba752
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
85
diff
changeset
|
185 w15.Expand = false; |
9515b57ba752
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
85
diff
changeset
|
186 w15.Fill = false; |
77 | 187 if ((this.Child != null)) |
188 { | |
189 this.Child.ShowAll(); | |
190 } | |
191 this.DefaultWidth = 370; | |
192 this.DefaultHeight = 348; | |
193 this.Show(); | |
194 this.txtArmyName.Changed += new global::System.EventHandler(this.OnTextChanged); | |
195 this.systemCombo.Changed += new global::System.EventHandler(this.OnSystemComboChanged); | |
196 this.sbPointsValue.ChangeValue += new global::Gtk.ChangeValueHandler(this.OnSpinChangeValue); | |
197 this.sbPointsValue.ValueChanged += new global::System.EventHandler(this.OnSpinValueChanged); | |
198 this.sbPointsValue.Changed += new global::System.EventHandler(this.OnSpinValueChanged); | |
199 this.bttnCancel.Clicked += new global::System.EventHandler(this.OnCancelClicked); | |
200 this.bttnCreate.Clicked += new global::System.EventHandler(this.OnCreateClicked); | |
201 } | |
202 } | |
203 } |