Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
comparison gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment.cs @ 145:135491fd1830
* Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 12 Nov 2011 19:53:26 +0000 |
parents | 6d2c8ad0d8f1 |
children |
comparison
equal
deleted
inserted
replaced
144:929ef50c3919 | 145:135491fd1830 |
---|---|
18 private global::Gtk.RadioButton rbEquipPercent; | 18 private global::Gtk.RadioButton rbEquipPercent; |
19 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblAmount; | 19 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblAmount; |
20 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblItem; | 20 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblItem; |
21 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCancel; | 21 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCancel; |
22 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnOkay; | 22 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnOkay; |
23 | 23 |
24 protected virtual void Build() | 24 protected virtual void Build () |
25 { | 25 { |
26 global::Stetic.Gui.Initialize(this); | 26 global::Stetic.Gui.Initialize (this); |
27 // Widget IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment | 27 // Widget IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment |
28 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment"; | 28 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment"; |
29 this.Title = global::Mono.Unix.Catalog.GetString("Add equipment"); | 29 this.Title = global::Mono.Unix.Catalog.GetString ("Add equipment"); |
30 this.WindowPosition = ((global::Gtk.WindowPosition)(4)); | 30 this.WindowPosition = ((global::Gtk.WindowPosition)(4)); |
31 this.Modal = true; | 31 this.Modal = true; |
32 this.SkipPagerHint = true; | 32 this.SkipPagerHint = true; |
33 this.SkipTaskbarHint = true; | 33 this.SkipTaskbarHint = true; |
34 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment.VBox | 34 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment.VBox |
35 global::Gtk.VBox w1 = this.VBox; | 35 global::Gtk.VBox w1 = this.VBox; |
36 w1.Name = "dialog1_VBox"; | 36 w1.Name = "dialog1_VBox"; |
37 w1.BorderWidth = ((uint)(2)); | 37 w1.BorderWidth = ((uint)(2)); |
38 // Container child dialog1_VBox.Gtk.Box+BoxChild | 38 // Container child dialog1_VBox.Gtk.Box+BoxChild |
39 this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); | 39 this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false); |
40 this.table1.Name = "table1"; | 40 this.table1.Name = "table1"; |
41 this.table1.RowSpacing = ((uint)(6)); | 41 this.table1.RowSpacing = ((uint)(6)); |
42 this.table1.ColumnSpacing = ((uint)(6)); | 42 this.table1.ColumnSpacing = ((uint)(6)); |
43 // Container child table1.Gtk.Table+TableChild | 43 // Container child table1.Gtk.Table+TableChild |
44 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); | 44 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); |
45 this.GtkScrolledWindow.Name = "GtkScrolledWindow"; | 45 this.GtkScrolledWindow.Name = "GtkScrolledWindow"; |
46 this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); | 46 this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); |
47 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild | 47 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild |
48 this.lstEquipment = new global::Gtk.TreeView(); | 48 this.lstEquipment = new global::Gtk.TreeView (); |
49 this.lstEquipment.CanFocus = true; | 49 this.lstEquipment.CanFocus = true; |
50 this.lstEquipment.Name = "lstEquipment"; | 50 this.lstEquipment.Name = "lstEquipment"; |
51 this.lstEquipment.HeadersVisible = false; | 51 this.lstEquipment.HeadersVisible = false; |
52 this.GtkScrolledWindow.Add(this.lstEquipment); | 52 this.GtkScrolledWindow.Add (this.lstEquipment); |
53 this.table1.Add(this.GtkScrolledWindow); | 53 this.table1.Add (this.GtkScrolledWindow); |
54 global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); | 54 global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow])); |
55 w3.LeftAttach = ((uint)(1)); | 55 w3.LeftAttach = ((uint)(1)); |
56 w3.RightAttach = ((uint)(2)); | 56 w3.RightAttach = ((uint)(2)); |
57 w3.YOptions = ((global::Gtk.AttachOptions)(4)); | 57 w3.YOptions = ((global::Gtk.AttachOptions)(4)); |
58 // Container child table1.Gtk.Table+TableChild | 58 // Container child table1.Gtk.Table+TableChild |
59 this.hbox2 = new global::Gtk.HBox(); | 59 this.hbox2 = new global::Gtk.HBox (); |
60 this.hbox2.Name = "hbox2"; | 60 this.hbox2.Name = "hbox2"; |
61 this.hbox2.Spacing = 6; | 61 this.hbox2.Spacing = 6; |
62 // Container child hbox2.Gtk.Box+BoxChild | 62 // Container child hbox2.Gtk.Box+BoxChild |
63 this.table2 = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false); | 63 this.table2 = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false); |
64 this.table2.Name = "table2"; | 64 this.table2.Name = "table2"; |
65 this.table2.RowSpacing = ((uint)(6)); | 65 this.table2.RowSpacing = ((uint)(6)); |
66 this.table2.ColumnSpacing = ((uint)(6)); | 66 this.table2.ColumnSpacing = ((uint)(6)); |
67 // Container child table2.Gtk.Table+TableChild | 67 // Container child table2.Gtk.Table+TableChild |
68 this.lblEquipAll = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); | 68 this.lblEquipAll = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel (); |
69 this.lblEquipAll.Name = "lblEquipAll"; | 69 this.lblEquipAll.Name = "lblEquipAll"; |
70 this.lblEquipAll.LabelProp = global::Mono.Unix.Catalog.GetString("equip all"); | 70 this.lblEquipAll.LabelProp = global::Mono.Unix.Catalog.GetString ("equip all"); |
71 this.table2.Add(this.lblEquipAll); | 71 this.table2.Add (this.lblEquipAll); |
72 global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2[this.lblEquipAll])); | 72 global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.lblEquipAll])); |
73 w4.TopAttach = ((uint)(2)); | 73 w4.TopAttach = ((uint)(2)); |
74 w4.BottomAttach = ((uint)(3)); | 74 w4.BottomAttach = ((uint)(3)); |
75 w4.LeftAttach = ((uint)(1)); | 75 w4.LeftAttach = ((uint)(1)); |
76 w4.RightAttach = ((uint)(2)); | 76 w4.RightAttach = ((uint)(2)); |
77 w4.YOptions = ((global::Gtk.AttachOptions)(4)); | 77 w4.YOptions = ((global::Gtk.AttachOptions)(4)); |
78 // Container child table2.Gtk.Table+TableChild | 78 // Container child table2.Gtk.Table+TableChild |
79 this.lblPercent = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); | 79 this.lblPercent = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel (); |
80 this.lblPercent.Name = "lblPercent"; | 80 this.lblPercent.Name = "lblPercent"; |
81 this.lblPercent.LabelProp = global::Mono.Unix.Catalog.GetString("%"); | 81 this.lblPercent.LabelProp = global::Mono.Unix.Catalog.GetString ("%"); |
82 this.table2.Add(this.lblPercent); | 82 this.table2.Add (this.lblPercent); |
83 global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2[this.lblPercent])); | 83 global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.lblPercent])); |
84 w5.TopAttach = ((uint)(1)); | 84 w5.TopAttach = ((uint)(1)); |
85 w5.BottomAttach = ((uint)(2)); | 85 w5.BottomAttach = ((uint)(2)); |
86 w5.LeftAttach = ((uint)(2)); | 86 w5.LeftAttach = ((uint)(2)); |
87 w5.RightAttach = ((uint)(3)); | 87 w5.RightAttach = ((uint)(3)); |
88 w5.XOptions = ((global::Gtk.AttachOptions)(4)); | 88 w5.XOptions = ((global::Gtk.AttachOptions)(4)); |
89 w5.YOptions = ((global::Gtk.AttachOptions)(4)); | 89 w5.YOptions = ((global::Gtk.AttachOptions)(4)); |
90 // Container child table2.Gtk.Table+TableChild | 90 // Container child table2.Gtk.Table+TableChild |
91 this.numericAmount = new global::Gtk.SpinButton(0, 100, 1); | 91 this.numericAmount = new global::Gtk.SpinButton (0, 100, 1); |
92 this.numericAmount.CanFocus = true; | 92 this.numericAmount.CanFocus = true; |
93 this.numericAmount.Name = "numericAmount"; | 93 this.numericAmount.Name = "numericAmount"; |
94 this.numericAmount.Adjustment.PageIncrement = 10; | 94 this.numericAmount.Adjustment.PageIncrement = 10; |
95 this.numericAmount.ClimbRate = 1; | 95 this.numericAmount.ClimbRate = 1; |
96 this.numericAmount.Numeric = true; | 96 this.numericAmount.Numeric = true; |
97 this.table2.Add(this.numericAmount); | 97 this.table2.Add (this.numericAmount); |
98 global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2[this.numericAmount])); | 98 global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.numericAmount])); |
99 w6.LeftAttach = ((uint)(1)); | 99 w6.LeftAttach = ((uint)(1)); |
100 w6.RightAttach = ((uint)(2)); | 100 w6.RightAttach = ((uint)(2)); |
101 w6.XOptions = ((global::Gtk.AttachOptions)(0)); | 101 w6.XOptions = ((global::Gtk.AttachOptions)(0)); |
102 w6.YOptions = ((global::Gtk.AttachOptions)(4)); | 102 w6.YOptions = ((global::Gtk.AttachOptions)(4)); |
103 // Container child table2.Gtk.Table+TableChild | 103 // Container child table2.Gtk.Table+TableChild |
104 this.percentageAmount = new global::Gtk.SpinButton(0, 100, 1); | 104 this.percentageAmount = new global::Gtk.SpinButton (0, 100, 1); |
105 this.percentageAmount.CanFocus = true; | 105 this.percentageAmount.CanFocus = true; |
106 this.percentageAmount.Name = "percentageAmount"; | 106 this.percentageAmount.Name = "percentageAmount"; |
107 this.percentageAmount.Adjustment.PageIncrement = 10; | 107 this.percentageAmount.Adjustment.PageIncrement = 10; |
108 this.percentageAmount.ClimbRate = 1; | 108 this.percentageAmount.ClimbRate = 1; |
109 this.percentageAmount.Digits = ((uint)(1)); | 109 this.percentageAmount.Digits = ((uint)(1)); |
110 this.percentageAmount.Numeric = true; | 110 this.percentageAmount.Numeric = true; |
111 this.table2.Add(this.percentageAmount); | 111 this.table2.Add (this.percentageAmount); |
112 global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2[this.percentageAmount])); | 112 global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.percentageAmount])); |
113 w7.TopAttach = ((uint)(1)); | 113 w7.TopAttach = ((uint)(1)); |
114 w7.BottomAttach = ((uint)(2)); | 114 w7.BottomAttach = ((uint)(2)); |
115 w7.LeftAttach = ((uint)(1)); | 115 w7.LeftAttach = ((uint)(1)); |
116 w7.RightAttach = ((uint)(2)); | 116 w7.RightAttach = ((uint)(2)); |
117 w7.XOptions = ((global::Gtk.AttachOptions)(0)); | 117 w7.XOptions = ((global::Gtk.AttachOptions)(0)); |
118 w7.YOptions = ((global::Gtk.AttachOptions)(4)); | 118 w7.YOptions = ((global::Gtk.AttachOptions)(4)); |
119 // Container child table2.Gtk.Table+TableChild | 119 // Container child table2.Gtk.Table+TableChild |
120 this.rbEquipAll = new global::Gtk.RadioButton(""); | 120 this.rbEquipAll = new global::Gtk.RadioButton (""); |
121 this.rbEquipAll.CanFocus = true; | 121 this.rbEquipAll.CanFocus = true; |
122 this.rbEquipAll.Name = "rbEquipAll"; | 122 this.rbEquipAll.Name = "rbEquipAll"; |
123 this.rbEquipAll.DrawIndicator = true; | 123 this.rbEquipAll.DrawIndicator = true; |
124 this.rbEquipAll.UseUnderline = true; | 124 this.rbEquipAll.UseUnderline = true; |
125 this.rbEquipAll.Group = new global::GLib.SList(global::System.IntPtr.Zero); | 125 this.rbEquipAll.Group = new global::GLib.SList (global::System.IntPtr.Zero); |
126 this.table2.Add(this.rbEquipAll); | 126 this.table2.Add (this.rbEquipAll); |
127 global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2[this.rbEquipAll])); | 127 global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.rbEquipAll])); |
128 w8.TopAttach = ((uint)(2)); | 128 w8.TopAttach = ((uint)(2)); |
129 w8.BottomAttach = ((uint)(3)); | 129 w8.BottomAttach = ((uint)(3)); |
130 w8.XOptions = ((global::Gtk.AttachOptions)(4)); | 130 w8.XOptions = ((global::Gtk.AttachOptions)(4)); |
131 w8.YOptions = ((global::Gtk.AttachOptions)(4)); | 131 w8.YOptions = ((global::Gtk.AttachOptions)(4)); |
132 // Container child table2.Gtk.Table+TableChild | 132 // Container child table2.Gtk.Table+TableChild |
133 this.rbEquipNumeric = new global::Gtk.RadioButton(""); | 133 this.rbEquipNumeric = new global::Gtk.RadioButton (""); |
134 this.rbEquipNumeric.CanFocus = true; | 134 this.rbEquipNumeric.CanFocus = true; |
135 this.rbEquipNumeric.Name = "rbEquipNumeric"; | 135 this.rbEquipNumeric.Name = "rbEquipNumeric"; |
136 this.rbEquipNumeric.DrawIndicator = true; | 136 this.rbEquipNumeric.DrawIndicator = true; |
137 this.rbEquipNumeric.UseUnderline = true; | 137 this.rbEquipNumeric.UseUnderline = true; |
138 this.rbEquipNumeric.Group = this.rbEquipAll.Group; | 138 this.rbEquipNumeric.Group = this.rbEquipAll.Group; |
139 this.table2.Add(this.rbEquipNumeric); | 139 this.table2.Add (this.rbEquipNumeric); |
140 global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.rbEquipNumeric])); | 140 global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.rbEquipNumeric])); |
141 w9.XOptions = ((global::Gtk.AttachOptions)(4)); | 141 w9.XOptions = ((global::Gtk.AttachOptions)(4)); |
142 w9.YOptions = ((global::Gtk.AttachOptions)(4)); | 142 w9.YOptions = ((global::Gtk.AttachOptions)(4)); |
143 // Container child table2.Gtk.Table+TableChild | 143 // Container child table2.Gtk.Table+TableChild |
144 this.rbEquipPercent = new global::Gtk.RadioButton(""); | 144 this.rbEquipPercent = new global::Gtk.RadioButton (""); |
145 this.rbEquipPercent.CanFocus = true; | 145 this.rbEquipPercent.CanFocus = true; |
146 this.rbEquipPercent.Name = "rbEquipPercent"; | 146 this.rbEquipPercent.Name = "rbEquipPercent"; |
147 this.rbEquipPercent.DrawIndicator = true; | 147 this.rbEquipPercent.DrawIndicator = true; |
148 this.rbEquipPercent.UseUnderline = true; | 148 this.rbEquipPercent.UseUnderline = true; |
149 this.rbEquipPercent.Group = this.rbEquipAll.Group; | 149 this.rbEquipPercent.Group = this.rbEquipAll.Group; |
150 this.table2.Add(this.rbEquipPercent); | 150 this.table2.Add (this.rbEquipPercent); |
151 global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2[this.rbEquipPercent])); | 151 global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.rbEquipPercent])); |
152 w10.TopAttach = ((uint)(1)); | 152 w10.TopAttach = ((uint)(1)); |
153 w10.BottomAttach = ((uint)(2)); | 153 w10.BottomAttach = ((uint)(2)); |
154 w10.XOptions = ((global::Gtk.AttachOptions)(4)); | 154 w10.XOptions = ((global::Gtk.AttachOptions)(4)); |
155 w10.YOptions = ((global::Gtk.AttachOptions)(4)); | 155 w10.YOptions = ((global::Gtk.AttachOptions)(4)); |
156 this.hbox2.Add(this.table2); | 156 this.hbox2.Add (this.table2); |
157 global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.table2])); | 157 global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.table2])); |
158 w11.Position = 0; | 158 w11.Position = 0; |
159 w11.Expand = false; | 159 w11.Expand = false; |
160 w11.Fill = false; | 160 w11.Fill = false; |
161 this.table1.Add(this.hbox2); | 161 this.table1.Add (this.hbox2); |
162 global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox2])); | 162 global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox2])); |
163 w12.TopAttach = ((uint)(1)); | 163 w12.TopAttach = ((uint)(1)); |
164 w12.BottomAttach = ((uint)(2)); | 164 w12.BottomAttach = ((uint)(2)); |
165 w12.LeftAttach = ((uint)(1)); | 165 w12.LeftAttach = ((uint)(1)); |
166 w12.RightAttach = ((uint)(2)); | 166 w12.RightAttach = ((uint)(2)); |
167 w12.YOptions = ((global::Gtk.AttachOptions)(4)); | 167 w12.YOptions = ((global::Gtk.AttachOptions)(4)); |
168 // Container child table1.Gtk.Table+TableChild | 168 // Container child table1.Gtk.Table+TableChild |
169 this.lblAmount = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); | 169 this.lblAmount = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel (); |
170 this.lblAmount.Name = "lblAmount"; | 170 this.lblAmount.Name = "lblAmount"; |
171 this.lblAmount.LabelProp = global::Mono.Unix.Catalog.GetString("amount:"); | 171 this.lblAmount.LabelProp = global::Mono.Unix.Catalog.GetString ("amount:"); |
172 this.table1.Add(this.lblAmount); | 172 this.table1.Add (this.lblAmount); |
173 global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.lblAmount])); | 173 global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblAmount])); |
174 w13.TopAttach = ((uint)(1)); | 174 w13.TopAttach = ((uint)(1)); |
175 w13.BottomAttach = ((uint)(2)); | 175 w13.BottomAttach = ((uint)(2)); |
176 w13.XOptions = ((global::Gtk.AttachOptions)(4)); | 176 w13.XOptions = ((global::Gtk.AttachOptions)(4)); |
177 w13.YOptions = ((global::Gtk.AttachOptions)(4)); | 177 w13.YOptions = ((global::Gtk.AttachOptions)(4)); |
178 // Container child table1.Gtk.Table+TableChild | 178 // Container child table1.Gtk.Table+TableChild |
179 this.lblItem = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); | 179 this.lblItem = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel (); |
180 this.lblItem.Name = "lblItem"; | 180 this.lblItem.Name = "lblItem"; |
181 this.lblItem.LabelProp = global::Mono.Unix.Catalog.GetString("equipment"); | 181 this.lblItem.LabelProp = global::Mono.Unix.Catalog.GetString ("equipment"); |
182 this.table1.Add(this.lblItem); | 182 this.table1.Add (this.lblItem); |
183 global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.lblItem])); | 183 global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblItem])); |
184 w14.XOptions = ((global::Gtk.AttachOptions)(4)); | 184 w14.XOptions = ((global::Gtk.AttachOptions)(4)); |
185 w14.YOptions = ((global::Gtk.AttachOptions)(4)); | 185 w14.YOptions = ((global::Gtk.AttachOptions)(4)); |
186 w1.Add(this.table1); | 186 w1.Add (this.table1); |
187 global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(w1[this.table1])); | 187 global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(w1 [this.table1])); |
188 w15.Position = 0; | 188 w15.Position = 0; |
189 w15.Expand = false; | 189 w15.Expand = false; |
190 w15.Fill = false; | 190 w15.Fill = false; |
191 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment.ActionArea | 191 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment.ActionArea |
192 global::Gtk.HButtonBox w16 = this.ActionArea; | 192 global::Gtk.HButtonBox w16 = this.ActionArea; |
193 w16.Name = "dialog1_ActionArea"; | 193 w16.Name = "dialog1_ActionArea"; |
194 w16.Spacing = 10; | 194 w16.Spacing = 10; |
195 w16.BorderWidth = ((uint)(5)); | 195 w16.BorderWidth = ((uint)(5)); |
196 w16.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); | 196 w16.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); |
197 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild | 197 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild |
198 this.bttnCancel = new global::IBBoard.GtkSharp.Translatable.TranslatableButton(); | 198 this.bttnCancel = new global::IBBoard.GtkSharp.Translatable.TranslatableButton (); |
199 this.bttnCancel.CanDefault = true; | 199 this.bttnCancel.CanDefault = true; |
200 this.bttnCancel.CanFocus = true; | 200 this.bttnCancel.CanFocus = true; |
201 this.bttnCancel.Name = "bttnCancel"; | 201 this.bttnCancel.Name = "bttnCancel"; |
202 this.bttnCancel.UseStock = true; | 202 this.bttnCancel.UseStock = true; |
203 this.bttnCancel.UseUnderline = true; | 203 this.bttnCancel.UseUnderline = true; |
204 this.bttnCancel.Label = "gtk-cancel"; | 204 this.bttnCancel.Label = "gtk-cancel"; |
205 this.AddActionWidget(this.bttnCancel, -6); | 205 this.AddActionWidget (this.bttnCancel, -6); |
206 global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16[this.bttnCancel])); | 206 global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16 [this.bttnCancel])); |
207 w17.Expand = false; | 207 w17.Expand = false; |
208 w17.Fill = false; | 208 w17.Fill = false; |
209 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild | 209 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild |
210 this.bttnOkay = new global::IBBoard.GtkSharp.Translatable.TranslatableButton(); | 210 this.bttnOkay = new global::IBBoard.GtkSharp.Translatable.TranslatableButton (); |
211 this.bttnOkay.CanDefault = true; | 211 this.bttnOkay.CanDefault = true; |
212 this.bttnOkay.CanFocus = true; | 212 this.bttnOkay.CanFocus = true; |
213 this.bttnOkay.Name = "bttnOkay"; | 213 this.bttnOkay.Name = "bttnOkay"; |
214 this.bttnOkay.UseStock = true; | 214 this.bttnOkay.UseStock = true; |
215 this.bttnOkay.UseUnderline = true; | 215 this.bttnOkay.UseUnderline = true; |
216 this.bttnOkay.Label = "gtk-ok"; | 216 this.bttnOkay.Label = "gtk-ok"; |
217 this.AddActionWidget(this.bttnOkay, -5); | 217 this.AddActionWidget (this.bttnOkay, -5); |
218 global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16[this.bttnOkay])); | 218 global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16 [this.bttnOkay])); |
219 w18.Position = 1; | 219 w18.Position = 1; |
220 w18.Expand = false; | 220 w18.Expand = false; |
221 w18.Fill = false; | 221 w18.Fill = false; |
222 if ((this.Child != null)) | 222 if ((this.Child != null)) { |
223 { | 223 this.Child.ShowAll (); |
224 this.Child.ShowAll(); | |
225 } | 224 } |
226 this.DefaultWidth = 400; | 225 this.DefaultWidth = 400; |
227 this.DefaultHeight = 300; | 226 this.DefaultHeight = 300; |
228 this.Show(); | 227 this.Show (); |
229 this.rbEquipNumeric.Clicked += new global::System.EventHandler(this.RadioButtonClicked); | 228 this.rbEquipNumeric.Clicked += new global::System.EventHandler (this.RadioButtonClicked); |
230 this.percentageAmount.ValueChanged += new global::System.EventHandler(this.SpinButtonValueChanged); | 229 this.percentageAmount.ValueChanged += new global::System.EventHandler (this.SpinButtonValueChanged); |
231 this.numericAmount.ValueChanged += new global::System.EventHandler(this.SpinButtonValueChanged); | 230 this.numericAmount.ValueChanged += new global::System.EventHandler (this.SpinButtonValueChanged); |
232 this.bttnCancel.Clicked += new global::System.EventHandler(this.CancelButtonClicked); | 231 this.bttnCancel.Clicked += new global::System.EventHandler (this.CancelButtonClicked); |
233 this.bttnOkay.Clicked += new global::System.EventHandler(this.OkayButtonClicked); | 232 this.bttnOkay.Clicked += new global::System.EventHandler (this.OkayButtonClicked); |
234 } | 233 } |
235 } | 234 } |
236 } | 235 } |