view gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmEditEquipment.cs @ 120:95a8b3e0efc2

* Add standardised .hgignore for C# projects
author IBBoard <dev@ibboard.co.uk>
date Sat, 24 Sep 2011 12:00:27 +0100
parents e40d892a2298
children 135491fd1830
line source
2 // This file has been generated by the GUI designer. Do not modify.
3 namespace IBBoard.WarFoundry.GUI.GTK
4 {
5 public partial class FrmEditEquipment
6 {
7 private global::Gtk.Table table1;
8 private global::Gtk.HBox hbox2;
9 private global::Gtk.Table table2;
10 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblEquipAll;
11 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblPercent;
12 private global::Gtk.SpinButton numericAmount;
13 private global::Gtk.SpinButton percentageAmount;
14 private global::Gtk.RadioButton rbEquipAll;
15 private global::Gtk.RadioButton rbEquipNumeric;
16 private global::Gtk.RadioButton rbEquipPercent;
17 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblAmount;
18 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCancel;
19 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnOkay;
21 protected virtual void Build()
22 {
23 global::Stetic.Gui.Initialize(this);
24 // Widget IBBoard.WarFoundry.GUI.GTK.FrmEditEquipment
25 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmEditEquipment";
26 this.Title = global::Mono.Unix.Catalog.GetString("Edit equipment");
27 this.WindowPosition = ((global::Gtk.WindowPosition)(4));
28 this.Modal = true;
29 this.SkipPagerHint = true;
30 this.SkipTaskbarHint = true;
31 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmEditEquipment.VBox
32 global::Gtk.VBox w1 = this.VBox;
33 w1.Name = "dialog1_VBox";
34 w1.BorderWidth = ((uint)(2));
35 // Container child dialog1_VBox.Gtk.Box+BoxChild
36 this.table1 = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false);
37 this.table1.Name = "table1";
38 this.table1.RowSpacing = ((uint)(6));
39 this.table1.ColumnSpacing = ((uint)(6));
40 // Container child table1.Gtk.Table+TableChild
41 this.hbox2 = new global::Gtk.HBox();
42 this.hbox2.Name = "hbox2";
43 this.hbox2.Spacing = 6;
44 // Container child hbox2.Gtk.Box+BoxChild
45 this.table2 = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false);
46 this.table2.Name = "table2";
47 this.table2.RowSpacing = ((uint)(6));
48 this.table2.ColumnSpacing = ((uint)(6));
49 // Container child table2.Gtk.Table+TableChild
50 this.lblEquipAll = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel();
51 this.lblEquipAll.Name = "lblEquipAll";
52 this.lblEquipAll.LabelProp = global::Mono.Unix.Catalog.GetString("equip all");
53 this.table2.Add(this.lblEquipAll);
54 global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2[this.lblEquipAll]));
55 w2.TopAttach = ((uint)(2));
56 w2.BottomAttach = ((uint)(3));
57 w2.LeftAttach = ((uint)(1));
58 w2.RightAttach = ((uint)(2));
59 w2.YOptions = ((global::Gtk.AttachOptions)(4));
60 // Container child table2.Gtk.Table+TableChild
61 this.lblPercent = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel();
62 this.lblPercent.Name = "lblPercent";
63 this.lblPercent.LabelProp = global::Mono.Unix.Catalog.GetString("%");
64 this.table2.Add(this.lblPercent);
65 global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2[this.lblPercent]));
66 w3.TopAttach = ((uint)(1));
67 w3.BottomAttach = ((uint)(2));
68 w3.LeftAttach = ((uint)(2));
69 w3.RightAttach = ((uint)(3));
70 w3.XOptions = ((global::Gtk.AttachOptions)(4));
71 w3.YOptions = ((global::Gtk.AttachOptions)(4));
72 // Container child table2.Gtk.Table+TableChild
73 this.numericAmount = new global::Gtk.SpinButton(0, 100, 1);
74 this.numericAmount.CanFocus = true;
75 this.numericAmount.Name = "numericAmount";
76 this.numericAmount.Adjustment.PageIncrement = 10;
77 this.numericAmount.ClimbRate = 1;
78 this.numericAmount.Numeric = true;
79 this.table2.Add(this.numericAmount);
80 global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2[this.numericAmount]));
81 w4.LeftAttach = ((uint)(1));
82 w4.RightAttach = ((uint)(2));
83 w4.XOptions = ((global::Gtk.AttachOptions)(0));
84 w4.YOptions = ((global::Gtk.AttachOptions)(4));
85 // Container child table2.Gtk.Table+TableChild
86 this.percentageAmount = new global::Gtk.SpinButton(0, 100, 1);
87 this.percentageAmount.CanFocus = true;
88 this.percentageAmount.Name = "percentageAmount";
89 this.percentageAmount.Adjustment.PageIncrement = 10;
90 this.percentageAmount.ClimbRate = 1;
91 this.percentageAmount.Digits = ((uint)(1));
92 this.percentageAmount.Numeric = true;
93 this.table2.Add(this.percentageAmount);
94 global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2[this.percentageAmount]));
95 w5.TopAttach = ((uint)(1));
96 w5.BottomAttach = ((uint)(2));
97 w5.LeftAttach = ((uint)(1));
98 w5.RightAttach = ((uint)(2));
99 w5.XOptions = ((global::Gtk.AttachOptions)(0));
100 w5.YOptions = ((global::Gtk.AttachOptions)(4));
101 // Container child table2.Gtk.Table+TableChild
102 this.rbEquipAll = new global::Gtk.RadioButton("");
103 this.rbEquipAll.CanFocus = true;
104 this.rbEquipAll.Name = "rbEquipAll";
105 this.rbEquipAll.DrawIndicator = true;
106 this.rbEquipAll.UseUnderline = true;
107 this.rbEquipAll.Group = new global::GLib.SList(global::System.IntPtr.Zero);
108 this.table2.Add(this.rbEquipAll);
109 global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2[this.rbEquipAll]));
110 w6.TopAttach = ((uint)(2));
111 w6.BottomAttach = ((uint)(3));
112 w6.XOptions = ((global::Gtk.AttachOptions)(4));
113 w6.YOptions = ((global::Gtk.AttachOptions)(4));
114 // Container child table2.Gtk.Table+TableChild
115 this.rbEquipNumeric = new global::Gtk.RadioButton("");
116 this.rbEquipNumeric.CanFocus = true;
117 this.rbEquipNumeric.Name = "rbEquipNumeric";
118 this.rbEquipNumeric.DrawIndicator = true;
119 this.rbEquipNumeric.UseUnderline = true;
120 this.rbEquipNumeric.Group = this.rbEquipAll.Group;
121 this.table2.Add(this.rbEquipNumeric);
122 global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2[this.rbEquipNumeric]));
123 w7.XOptions = ((global::Gtk.AttachOptions)(4));
124 w7.YOptions = ((global::Gtk.AttachOptions)(4));
125 // Container child table2.Gtk.Table+TableChild
126 this.rbEquipPercent = new global::Gtk.RadioButton("");
127 this.rbEquipPercent.CanFocus = true;
128 this.rbEquipPercent.Name = "rbEquipPercent";
129 this.rbEquipPercent.DrawIndicator = true;
130 this.rbEquipPercent.UseUnderline = true;
131 this.rbEquipPercent.Group = this.rbEquipAll.Group;
132 this.table2.Add(this.rbEquipPercent);
133 global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2[this.rbEquipPercent]));
134 w8.TopAttach = ((uint)(1));
135 w8.BottomAttach = ((uint)(2));
136 w8.XOptions = ((global::Gtk.AttachOptions)(4));
137 w8.YOptions = ((global::Gtk.AttachOptions)(4));
138 this.hbox2.Add(this.table2);
139 global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.table2]));
140 w9.Position = 0;
141 w9.Expand = false;
142 w9.Fill = false;
143 this.table1.Add(this.hbox2);
144 global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox2]));
145 w10.LeftAttach = ((uint)(1));
146 w10.RightAttach = ((uint)(2));
147 w10.YOptions = ((global::Gtk.AttachOptions)(4));
148 // Container child table1.Gtk.Table+TableChild
149 this.lblAmount = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel();
150 this.lblAmount.Name = "lblAmount";
151 this.lblAmount.LabelProp = global::Mono.Unix.Catalog.GetString("amount:");
152 this.lblAmount.Justify = ((global::Gtk.Justification)(1));
153 this.table1.Add(this.lblAmount);
154 global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.lblAmount]));
155 w11.YOptions = ((global::Gtk.AttachOptions)(4));
156 w1.Add(this.table1);
157 global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(w1[this.table1]));
158 w12.Position = 0;
159 w12.Expand = false;
160 w12.Fill = false;
161 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmEditEquipment.ActionArea
162 global::Gtk.HButtonBox w13 = this.ActionArea;
163 w13.Name = "dialog1_ActionArea";
164 w13.Spacing = 10;
165 w13.BorderWidth = ((uint)(5));
166 w13.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
167 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
168 this.bttnCancel = new global::IBBoard.GtkSharp.Translatable.TranslatableButton();
169 this.bttnCancel.CanDefault = true;
170 this.bttnCancel.CanFocus = true;
171 this.bttnCancel.Name = "bttnCancel";
172 this.bttnCancel.UseStock = true;
173 this.bttnCancel.UseUnderline = true;
174 this.bttnCancel.Label = "gtk-cancel";
175 this.AddActionWidget(this.bttnCancel, -6);
176 global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13[this.bttnCancel]));
177 w14.Expand = false;
178 w14.Fill = false;
179 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
180 this.bttnOkay = new global::IBBoard.GtkSharp.Translatable.TranslatableButton();
181 this.bttnOkay.CanDefault = true;
182 this.bttnOkay.CanFocus = true;
183 this.bttnOkay.Name = "bttnOkay";
184 this.bttnOkay.UseStock = true;
185 this.bttnOkay.UseUnderline = true;
186 this.bttnOkay.Label = "gtk-ok";
187 this.AddActionWidget(this.bttnOkay, -5);
188 global::Gtk.ButtonBox.ButtonBoxChild w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13[this.bttnOkay]));
189 w15.Position = 1;
190 w15.Expand = false;
191 w15.Fill = false;
192 if ((this.Child != null))
193 {
194 this.Child.ShowAll();
195 }
196 this.DefaultWidth = 280;
197 this.DefaultHeight = 175;
198 this.Show();
199 this.rbEquipPercent.Clicked += new global::System.EventHandler(this.RadioButtonClicked);
200 this.rbEquipNumeric.Clicked += new global::System.EventHandler(this.RadioButtonClicked);
201 this.rbEquipAll.Clicked += new global::System.EventHandler(this.RadioButtonClicked);
202 this.percentageAmount.ValueChanged += new global::System.EventHandler(this.SpinButtonValueChanged);
203 this.numericAmount.ValueChanged += new global::System.EventHandler(this.SpinButtonValueChanged);
204 this.bttnCancel.Clicked += new global::System.EventHandler(this.CancelButtonClicked);
205 this.bttnOkay.Clicked += new global::System.EventHandler(this.OkayButtonClicked);
206 }
207 }
208 }