Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
annotate gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmNewArmy.cs @ 147:18c7b0b4bc30
* Try to fix Unicode build issues on Jenkins server by changing "invisible character" (which is only used on passwords anyway)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 26 Nov 2011 11:56:35 +0000 |
parents | 135491fd1830 |
children | 7b091ea86819 |
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; |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
20 |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
21 protected virtual void Build () |
77 | 22 { |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
23 global::Stetic.Gui.Initialize (this); |
77 | 24 // Widget IBBoard.WarFoundry.GUI.GTK.FrmNewArmy |
25 this.Events = ((global::Gdk.EventMask)(256)); | |
26 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmNewArmy"; | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
27 this.Title = global::Mono.Unix.Catalog.GetString ("Create new army"); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
28 this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-new", global::Gtk.IconSize.Menu); |
77 | 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 | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
39 this.table1 = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false); |
77 | 40 this.table1.Name = "table1"; |
41 this.table1.RowSpacing = ((uint)(6)); | |
42 this.table1.ColumnSpacing = ((uint)(6)); | |
43 // Container child table1.Gtk.Table+TableChild | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
44 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); |
77 | 45 this.GtkScrolledWindow.Name = "GtkScrolledWindow"; |
46 this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); | |
47 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
48 this.lstRaces = new global::Gtk.TreeView (); |
77 | 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; | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
54 this.GtkScrolledWindow.Add (this.lstRaces); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
55 this.table1.Add (this.GtkScrolledWindow); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
56 global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow])); |
77 | 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 | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
64 this.hbox2 = new global::Gtk.HBox (); |
77 | 65 this.hbox2.Name = "hbox2"; |
66 // Container child hbox2.Gtk.Box+BoxChild | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
67 this.sbPointsValue = new global::Gtk.SpinButton (0, 2000000000, 100); |
77 | 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; | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
75 this.hbox2.Add (this.sbPointsValue); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
76 global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.sbPointsValue])); |
77 | 77 w4.Position = 0; |
78 w4.Expand = false; | |
79 w4.Fill = false; | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
80 this.table1.Add (this.hbox2); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
81 global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox2])); |
77 | 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 | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
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"; |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
91 this.lblArmyName.LabelProp = global::Mono.Unix.Catalog.GetString ("army name"); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
92 this.table1.Add (this.lblArmyName); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
93 global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblArmyName])); |
85
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 | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
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"; |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
101 this.lblArmySize.LabelProp = global::Mono.Unix.Catalog.GetString ("points value"); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
102 this.table1.Add (this.lblArmySize); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
103 global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblArmySize])); |
85
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 | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
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"; |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
111 this.lblGameSystem.LabelProp = global::Mono.Unix.Catalog.GetString ("game system"); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
112 this.table1.Add (this.lblGameSystem); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
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 | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
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"; |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
119 this.lblRaceList.LabelProp = global::Mono.Unix.Catalog.GetString ("race"); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
120 this.table1.Add (this.lblRaceList); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
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 | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
127 this.systemCombo = global::Gtk.ComboBoxEntry.NewText (); |
77 | 128 this.systemCombo.Name = "systemCombo"; |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
129 this.table1.Add (this.systemCombo); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
130 global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.systemCombo])); |
77 | 131 w10.LeftAttach = ((uint)(1)); |
132 w10.RightAttach = ((uint)(2)); | |
133 w10.YOptions = ((global::Gtk.AttachOptions)(4)); | |
134 // Container child table1.Gtk.Table+TableChild | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
135 this.txtArmyName = new global::Gtk.Entry (); |
77 | 136 this.txtArmyName.CanFocus = true; |
137 this.txtArmyName.Name = "txtArmyName"; | |
138 this.txtArmyName.IsEditable = true; | |
147
18c7b0b4bc30
* Try to fix Unicode build issues on Jenkins server by changing "invisible character" (which is only used on passwords anyway)
IBBoard <dev@ibboard.co.uk>
parents:
145
diff
changeset
|
139 this.txtArmyName.InvisibleChar = '#'; |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
140 this.table1.Add (this.txtArmyName); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
141 global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.txtArmyName])); |
77 | 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)); | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
148 w1.Add (this.table1); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
149 global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(w1 [this.table1])); |
77 | 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 | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
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"; | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
169 this.AddActionWidget (this.bttnCancel, -6); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
170 global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13 [this.bttnCancel])); |
77 | 171 w14.Expand = false; |
172 w14.Fill = false; | |
173 // Container child WarFoundrySharp.FrmNewArmy_ActionArea.Gtk.ButtonBox+ButtonBoxChild | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
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"; |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
182 this.AddActionWidget (this.bttnCreate, -5); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
183 global::Gtk.ButtonBox.ButtonBoxChild w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13 [this.bttnCreate])); |
86
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; |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
187 if ((this.Child != null)) { |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
188 this.Child.ShowAll (); |
77 | 189 } |
190 this.DefaultWidth = 370; | |
191 this.DefaultHeight = 348; | |
136
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
192 this.Show (); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
193 this.txtArmyName.Changed += new global::System.EventHandler (this.OnTextChanged); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
194 this.systemCombo.Changed += new global::System.EventHandler (this.OnSystemComboChanged); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
195 this.sbPointsValue.ChangeValue += new global::Gtk.ChangeValueHandler (this.OnSpinChangeValue); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
196 this.sbPointsValue.ValueChanged += new global::System.EventHandler (this.OnSpinValueChanged); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
197 this.sbPointsValue.Changed += new global::System.EventHandler (this.OnSpinValueChanged); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
198 this.bttnCancel.Clicked += new global::System.EventHandler (this.OnCancelClicked); |
560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
199 this.bttnCreate.Clicked += new global::System.EventHandler (this.OnCreateClicked); |
77 | 200 } |
201 } | |
202 } |