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