annotate gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmAddEquipment.cs @ 97:6d2c8ad0d8f1

Re #308: Make GTK# UI translatable * More standardisation of widget names with WinForms
author IBBoard <dev@ibboard.co.uk>
date Sun, 02 Jan 2011 15:50:29 +0000
parents e40d892a2298
children fac0636ae13b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
51
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 // This file has been generated by the GUI designer. Do not modify.
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 namespace IBBoard.WarFoundry.GUI.GTK
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 {
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 public partial class FrmAddEquipment
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 {
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
7 private global::Gtk.Table table1;
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
8 private global::Gtk.ScrolledWindow GtkScrolledWindow;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
9 private global::Gtk.TreeView lstEquipment;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
10 private global::Gtk.HBox hbox2;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
11 private global::Gtk.Table table2;
92
58779fcd0166 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 77
diff changeset
12 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblEquipAll;
58779fcd0166 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 77
diff changeset
13 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblPercent;
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
14 private global::Gtk.SpinButton numericAmount;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
15 private global::Gtk.SpinButton percentageAmount;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
16 private global::Gtk.RadioButton rbEquipAll;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
17 private global::Gtk.RadioButton rbEquipNumeric;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
18 private global::Gtk.RadioButton rbEquipPercent;
97
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
19 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblAmount;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
20 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblItem;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
21 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCancel;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
22 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnOkay;
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
23
51
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 protected virtual void Build()
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 {
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26 global::Stetic.Gui.Initialize(this);
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27 // Widget IBBoard.WarFoundry.GUI.GTK.FrmAddEquipment
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmAddEquipment";
65
77448375d2f9 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 61
diff changeset
29 this.Title = global::Mono.Unix.Catalog.GetString("Add equipment");
51
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 this.WindowPosition = ((global::Gtk.WindowPosition)(4));
65
77448375d2f9 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 61
diff changeset
31 this.Modal = true;
77448375d2f9 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 61
diff changeset
32 this.SkipPagerHint = true;
77448375d2f9 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 61
diff changeset
33 this.SkipTaskbarHint = true;
51
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmAddEquipment.VBox
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35 global::Gtk.VBox w1 = this.VBox;
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 w1.Name = "dialog1_VBox";
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 w1.BorderWidth = ((uint)(2));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
38 // Container child dialog1_VBox.Gtk.Box+BoxChild
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
39 this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false);
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
40 this.table1.Name = "table1";
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
41 this.table1.RowSpacing = ((uint)(6));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
42 this.table1.ColumnSpacing = ((uint)(6));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
43 // Container child table1.Gtk.Table+TableChild
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
44 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow();
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
45 this.GtkScrolledWindow.Name = "GtkScrolledWindow";
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
46 this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
47 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
48 this.lstEquipment = new global::Gtk.TreeView();
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
49 this.lstEquipment.CanFocus = true;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
50 this.lstEquipment.Name = "lstEquipment";
55
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
51 this.lstEquipment.HeadersVisible = false;
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
52 this.GtkScrolledWindow.Add(this.lstEquipment);
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
53 this.table1.Add(this.GtkScrolledWindow);
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
54 global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow]));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
55 w3.LeftAttach = ((uint)(1));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
56 w3.RightAttach = ((uint)(2));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
57 w3.YOptions = ((global::Gtk.AttachOptions)(4));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
58 // Container child table1.Gtk.Table+TableChild
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
59 this.hbox2 = new global::Gtk.HBox();
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
60 this.hbox2.Name = "hbox2";
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
61 this.hbox2.Spacing = 6;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
62 // Container child hbox2.Gtk.Box+BoxChild
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
63 this.table2 = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false);
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
64 this.table2.Name = "table2";
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
65 this.table2.RowSpacing = ((uint)(6));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
66 this.table2.ColumnSpacing = ((uint)(6));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
67 // Container child table2.Gtk.Table+TableChild
92
58779fcd0166 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 77
diff changeset
68 this.lblEquipAll = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel();
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
69 this.lblEquipAll.Name = "lblEquipAll";
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
70 this.lblEquipAll.LabelProp = global::Mono.Unix.Catalog.GetString("equip all");
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
71 this.table2.Add(this.lblEquipAll);
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
72 global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2[this.lblEquipAll]));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
73 w4.TopAttach = ((uint)(2));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
74 w4.BottomAttach = ((uint)(3));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
75 w4.LeftAttach = ((uint)(1));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
76 w4.RightAttach = ((uint)(2));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
77 w4.YOptions = ((global::Gtk.AttachOptions)(4));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
78 // Container child table2.Gtk.Table+TableChild
92
58779fcd0166 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 77
diff changeset
79 this.lblPercent = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel();
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
80 this.lblPercent.Name = "lblPercent";
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
81 this.lblPercent.LabelProp = global::Mono.Unix.Catalog.GetString("%");
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
82 this.table2.Add(this.lblPercent);
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
83 global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2[this.lblPercent]));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
84 w5.TopAttach = ((uint)(1));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
85 w5.BottomAttach = ((uint)(2));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
86 w5.LeftAttach = ((uint)(2));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
87 w5.RightAttach = ((uint)(3));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
88 w5.XOptions = ((global::Gtk.AttachOptions)(4));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
89 w5.YOptions = ((global::Gtk.AttachOptions)(4));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
90 // Container child table2.Gtk.Table+TableChild
55
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
91 this.numericAmount = new global::Gtk.SpinButton(0, 100, 1);
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
92 this.numericAmount.CanFocus = true;
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
93 this.numericAmount.Name = "numericAmount";
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
94 this.numericAmount.Adjustment.PageIncrement = 10;
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
95 this.numericAmount.ClimbRate = 1;
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
96 this.numericAmount.Numeric = true;
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
97 this.table2.Add(this.numericAmount);
61
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
98 global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2[this.numericAmount]));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
99 w6.LeftAttach = ((uint)(1));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
100 w6.RightAttach = ((uint)(2));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
101 w6.XOptions = ((global::Gtk.AttachOptions)(0));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
102 w6.YOptions = ((global::Gtk.AttachOptions)(4));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
103 // Container child table2.Gtk.Table+TableChild
55
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
104 this.percentageAmount = new global::Gtk.SpinButton(0, 100, 1);
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
105 this.percentageAmount.CanFocus = true;
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
106 this.percentageAmount.Name = "percentageAmount";
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
107 this.percentageAmount.Adjustment.PageIncrement = 10;
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
108 this.percentageAmount.ClimbRate = 1;
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
109 this.percentageAmount.Digits = ((uint)(1));
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
110 this.percentageAmount.Numeric = true;
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
111 this.table2.Add(this.percentageAmount);
61
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
112 global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2[this.percentageAmount]));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
113 w7.TopAttach = ((uint)(1));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
114 w7.BottomAttach = ((uint)(2));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
115 w7.LeftAttach = ((uint)(1));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
116 w7.RightAttach = ((uint)(2));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
117 w7.XOptions = ((global::Gtk.AttachOptions)(0));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
118 w7.YOptions = ((global::Gtk.AttachOptions)(4));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
119 // Container child table2.Gtk.Table+TableChild
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
120 this.rbEquipAll = new global::Gtk.RadioButton("");
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
121 this.rbEquipAll.CanFocus = true;
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
122 this.rbEquipAll.Name = "rbEquipAll";
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
123 this.rbEquipAll.DrawIndicator = true;
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
124 this.rbEquipAll.UseUnderline = true;
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
125 this.rbEquipAll.Group = new global::GLib.SList(global::System.IntPtr.Zero);
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
126 this.table2.Add(this.rbEquipAll);
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
127 global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2[this.rbEquipAll]));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
128 w8.TopAttach = ((uint)(2));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
129 w8.BottomAttach = ((uint)(3));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
130 w8.XOptions = ((global::Gtk.AttachOptions)(4));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
131 w8.YOptions = ((global::Gtk.AttachOptions)(4));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
132 // Container child table2.Gtk.Table+TableChild
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
133 this.rbEquipNumeric = new global::Gtk.RadioButton("");
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
134 this.rbEquipNumeric.CanFocus = true;
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
135 this.rbEquipNumeric.Name = "rbEquipNumeric";
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
136 this.rbEquipNumeric.DrawIndicator = true;
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
137 this.rbEquipNumeric.UseUnderline = true;
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
138 this.rbEquipNumeric.Group = this.rbEquipAll.Group;
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
139 this.table2.Add(this.rbEquipNumeric);
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
140 global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.rbEquipNumeric]));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
141 w9.XOptions = ((global::Gtk.AttachOptions)(4));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
142 w9.YOptions = ((global::Gtk.AttachOptions)(4));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
143 // Container child table2.Gtk.Table+TableChild
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
144 this.rbEquipPercent = new global::Gtk.RadioButton("");
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
145 this.rbEquipPercent.CanFocus = true;
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
146 this.rbEquipPercent.Name = "rbEquipPercent";
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
147 this.rbEquipPercent.DrawIndicator = true;
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
148 this.rbEquipPercent.UseUnderline = true;
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
149 this.rbEquipPercent.Group = this.rbEquipAll.Group;
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
150 this.table2.Add(this.rbEquipPercent);
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
151 global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2[this.rbEquipPercent]));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
152 w10.TopAttach = ((uint)(1));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
153 w10.BottomAttach = ((uint)(2));
61
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
154 w10.XOptions = ((global::Gtk.AttachOptions)(4));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
155 w10.YOptions = ((global::Gtk.AttachOptions)(4));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
156 this.hbox2.Add(this.table2);
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
157 global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.table2]));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
158 w11.Position = 0;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
159 w11.Expand = false;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
160 w11.Fill = false;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
161 this.table1.Add(this.hbox2);
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
162 global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox2]));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
163 w12.TopAttach = ((uint)(1));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
164 w12.BottomAttach = ((uint)(2));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
165 w12.LeftAttach = ((uint)(1));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
166 w12.RightAttach = ((uint)(2));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
167 w12.YOptions = ((global::Gtk.AttachOptions)(4));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
168 // Container child table1.Gtk.Table+TableChild
97
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
169 this.lblAmount = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel();
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
170 this.lblAmount.Name = "lblAmount";
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
171 this.lblAmount.LabelProp = global::Mono.Unix.Catalog.GetString("amount:");
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
172 this.table1.Add(this.lblAmount);
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
173 global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.lblAmount]));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
174 w13.TopAttach = ((uint)(1));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
175 w13.BottomAttach = ((uint)(2));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
176 w13.XOptions = ((global::Gtk.AttachOptions)(4));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
177 w13.YOptions = ((global::Gtk.AttachOptions)(4));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
178 // Container child table1.Gtk.Table+TableChild
97
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
179 this.lblItem = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel();
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
180 this.lblItem.Name = "lblItem";
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
181 this.lblItem.LabelProp = global::Mono.Unix.Catalog.GetString("equipment");
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
182 this.table1.Add(this.lblItem);
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
183 global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.lblItem]));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
184 w14.XOptions = ((global::Gtk.AttachOptions)(4));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
185 w14.YOptions = ((global::Gtk.AttachOptions)(4));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
186 w1.Add(this.table1);
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
187 global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(w1[this.table1]));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
188 w15.Position = 0;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
189 w15.Expand = false;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
190 w15.Fill = false;
51
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
191 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmAddEquipment.ActionArea
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
192 global::Gtk.HButtonBox w16 = this.ActionArea;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
193 w16.Name = "dialog1_ActionArea";
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
194 w16.Spacing = 10;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
195 w16.BorderWidth = ((uint)(5));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
196 w16.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
51
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
197 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
97
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
198 this.bttnCancel = new global::IBBoard.GtkSharp.Translatable.TranslatableButton();
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
199 this.bttnCancel.CanDefault = true;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
200 this.bttnCancel.CanFocus = true;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
201 this.bttnCancel.Name = "bttnCancel";
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
202 this.bttnCancel.UseStock = true;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
203 this.bttnCancel.UseUnderline = true;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
204 this.bttnCancel.Label = "gtk-cancel";
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
205 this.AddActionWidget(this.bttnCancel, -6);
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
206 global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16[this.bttnCancel]));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
207 w17.Expand = false;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
208 w17.Fill = false;
51
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
209 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
97
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
210 this.bttnOkay = new global::IBBoard.GtkSharp.Translatable.TranslatableButton();
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
211 this.bttnOkay.CanDefault = true;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
212 this.bttnOkay.CanFocus = true;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
213 this.bttnOkay.Name = "bttnOkay";
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
214 this.bttnOkay.UseStock = true;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
215 this.bttnOkay.UseUnderline = true;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
216 this.bttnOkay.Label = "gtk-ok";
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
217 this.AddActionWidget(this.bttnOkay, -5);
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
218 global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16[this.bttnOkay]));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
219 w18.Position = 1;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
220 w18.Expand = false;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
221 w18.Fill = false;
51
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
222 if ((this.Child != null))
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
223 {
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
224 this.Child.ShowAll();
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
225 }
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
226 this.DefaultWidth = 400;
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
227 this.DefaultHeight = 300;
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
228 this.Show();
61
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
229 this.rbEquipNumeric.Clicked += new global::System.EventHandler(this.RadioButtonClicked);
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
230 this.percentageAmount.ValueChanged += new global::System.EventHandler(this.SpinButtonValueChanged);
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
231 this.numericAmount.ValueChanged += new global::System.EventHandler(this.SpinButtonValueChanged);
97
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
232 this.bttnCancel.Clicked += new global::System.EventHandler(this.CancelButtonClicked);
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
233 this.bttnOkay.Clicked += new global::System.EventHandler(this.OkayButtonClicked);
51
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
234 }
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
235 }
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
236 }