Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
annotate gtk-gui/IBBoard.WarFoundry.GTK.FrmNewArmy.cs @ 67:a7306b5a229e
Re #311: can't read ZIP file packed by Linux app Archive Manager/File Roller
* Add SharpZipLib to GTK# GUI solution
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 30 Oct 2010 14:30:29 +0000 |
parents | d2f4fcc28254 |
children |
rev | line source |
---|---|
40
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
1 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
2 // This file has been generated by the GUI designer. Do not modify. |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
3 namespace IBBoard.WarFoundry.GTK |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
4 { |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
5 public partial class FrmNewArmy |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
6 { |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
7 private global::Gtk.Table table1; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
8 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
9 private global::Gtk.ScrolledWindow GtkScrolledWindow; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
10 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
11 private global::Gtk.TreeView lstRaces; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
12 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
13 private global::Gtk.HBox hbox2; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
14 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
15 private global::Gtk.SpinButton sbPointsValue; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
16 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
17 private global::Gtk.Label label1; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
18 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
19 private global::Gtk.Label label2; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
20 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
21 private global::Gtk.Label label3; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
22 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
23 private global::Gtk.Label label4; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
24 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
25 private global::Gtk.ComboBoxEntry systemCombo; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
26 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
27 private global::Gtk.Entry txtArmyName; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
28 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
29 private global::Gtk.Button bttnCancel; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
30 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
31 private global::Gtk.Button bttnCreate; |
5 | 32 |
40
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
33 protected virtual void Build() |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
34 { |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
35 global::Stetic.Gui.Initialize(this); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
36 // Widget IBBoard.WarFoundry.GTK.FrmNewArmy |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
37 this.Events = ((global::Gdk.EventMask)(256)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
38 this.Name = "IBBoard.WarFoundry.GTK.FrmNewArmy"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
39 this.Title = global::Mono.Unix.Catalog.GetString("Create new army"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
40 this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-new", global::Gtk.IconSize.Menu); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
41 this.WindowPosition = ((global::Gtk.WindowPosition)(4)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
42 this.SkipPagerHint = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
43 this.SkipTaskbarHint = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
44 // Internal child IBBoard.WarFoundry.GTK.FrmNewArmy.VBox |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
45 global::Gtk.VBox w1 = this.VBox; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
46 w1.CanFocus = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
47 w1.Events = ((global::Gdk.EventMask)(256)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
48 w1.Name = "dialog_VBox"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
49 w1.BorderWidth = ((uint)(2)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
50 // Container child dialog_VBox.Gtk.Box+BoxChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
51 this.table1 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); |
50
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
52 this.table1.Name = "table1"; |
40
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
53 this.table1.RowSpacing = ((uint)(6)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
54 this.table1.ColumnSpacing = ((uint)(6)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
55 // Container child table1.Gtk.Table+TableChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
56 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
57 this.GtkScrolledWindow.Name = "GtkScrolledWindow"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
58 this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
59 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
60 this.lstRaces = new global::Gtk.TreeView(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
61 this.lstRaces.HeightRequest = 150; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
62 this.lstRaces.CanFocus = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
63 this.lstRaces.Name = "lstRaces"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
64 this.lstRaces.HeadersVisible = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
65 this.lstRaces.RulesHint = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
66 this.GtkScrolledWindow.Add(this.lstRaces); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
67 this.table1.Add(this.GtkScrolledWindow); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
68 global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
69 w3.TopAttach = ((uint)(1)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
70 w3.BottomAttach = ((uint)(2)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
71 w3.LeftAttach = ((uint)(1)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
72 w3.RightAttach = ((uint)(2)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
73 w3.XOptions = ((global::Gtk.AttachOptions)(4)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
74 w3.YOptions = ((global::Gtk.AttachOptions)(4)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
75 // Container child table1.Gtk.Table+TableChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
76 this.hbox2 = new global::Gtk.HBox(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
77 this.hbox2.Name = "hbox2"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
78 // Container child hbox2.Gtk.Box+BoxChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
79 this.sbPointsValue = new global::Gtk.SpinButton(0, 2000000000, 100); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
80 this.sbPointsValue.WidthRequest = 150; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
81 this.sbPointsValue.CanFocus = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
82 this.sbPointsValue.Name = "sbPointsValue"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
83 this.sbPointsValue.Adjustment.PageIncrement = 1000; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
84 this.sbPointsValue.ClimbRate = 100; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
85 this.sbPointsValue.Numeric = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
86 this.sbPointsValue.Value = 1000; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
87 this.hbox2.Add(this.sbPointsValue); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
88 global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.sbPointsValue])); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
89 w4.Position = 0; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
90 w4.Expand = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
91 w4.Fill = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
92 this.table1.Add(this.hbox2); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
93 global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox2])); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
94 w5.TopAttach = ((uint)(3)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
95 w5.BottomAttach = ((uint)(4)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
96 w5.LeftAttach = ((uint)(1)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
97 w5.RightAttach = ((uint)(2)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
98 w5.XOptions = ((global::Gtk.AttachOptions)(4)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
99 w5.YOptions = ((global::Gtk.AttachOptions)(4)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
100 // Container child table1.Gtk.Table+TableChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
101 this.label1 = new global::Gtk.Label(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
102 this.label1.Name = "label1"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
103 this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Race"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
104 this.table1.Add(this.label1); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
105 global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
106 w6.TopAttach = ((uint)(1)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
107 w6.BottomAttach = ((uint)(2)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
108 w6.XOptions = ((global::Gtk.AttachOptions)(4)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
109 w6.YOptions = ((global::Gtk.AttachOptions)(4)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
110 // Container child table1.Gtk.Table+TableChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
111 this.label2 = new global::Gtk.Label(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
112 this.label2.Name = "label2"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
113 this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Army name"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
114 this.table1.Add(this.label2); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
115 global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
116 w7.TopAttach = ((uint)(2)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
117 w7.BottomAttach = ((uint)(3)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
118 w7.XOptions = ((global::Gtk.AttachOptions)(4)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
119 w7.YOptions = ((global::Gtk.AttachOptions)(4)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
120 // Container child table1.Gtk.Table+TableChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
121 this.label3 = new global::Gtk.Label(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
122 this.label3.Name = "label3"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
123 this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Points value"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
124 this.table1.Add(this.label3); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
125 global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
126 w8.TopAttach = ((uint)(3)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
127 w8.BottomAttach = ((uint)(4)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
128 w8.XOptions = ((global::Gtk.AttachOptions)(4)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
129 w8.YOptions = ((global::Gtk.AttachOptions)(4)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
130 // Container child table1.Gtk.Table+TableChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
131 this.label4 = new global::Gtk.Label(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
132 this.label4.Name = "label4"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
133 this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("game system"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
134 this.table1.Add(this.label4); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
135 global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
136 w9.XOptions = ((global::Gtk.AttachOptions)(4)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
137 w9.YOptions = ((global::Gtk.AttachOptions)(4)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
138 // Container child table1.Gtk.Table+TableChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
139 this.systemCombo = global::Gtk.ComboBoxEntry.NewText(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
140 this.systemCombo.Name = "systemCombo"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
141 this.table1.Add(this.systemCombo); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
142 global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.systemCombo])); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
143 w10.LeftAttach = ((uint)(1)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
144 w10.RightAttach = ((uint)(2)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
145 w10.YOptions = ((global::Gtk.AttachOptions)(4)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
146 // Container child table1.Gtk.Table+TableChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
147 this.txtArmyName = new global::Gtk.Entry(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
148 this.txtArmyName.CanFocus = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
149 this.txtArmyName.Name = "txtArmyName"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
150 this.txtArmyName.IsEditable = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
151 this.txtArmyName.InvisibleChar = '•'; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
152 this.table1.Add(this.txtArmyName); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
153 global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.txtArmyName])); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
154 w11.TopAttach = ((uint)(2)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
155 w11.BottomAttach = ((uint)(3)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
156 w11.LeftAttach = ((uint)(1)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
157 w11.RightAttach = ((uint)(2)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
158 w11.XOptions = ((global::Gtk.AttachOptions)(4)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
159 w11.YOptions = ((global::Gtk.AttachOptions)(4)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
160 w1.Add(this.table1); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
161 global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(w1[this.table1])); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
162 w12.Position = 0; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
163 w12.Expand = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
164 w12.Fill = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
165 w12.Padding = ((uint)(6)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
166 // Internal child IBBoard.WarFoundry.GTK.FrmNewArmy.ActionArea |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
167 global::Gtk.HButtonBox w13 = this.ActionArea; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
168 w13.CanFocus = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
169 w13.Events = ((global::Gdk.EventMask)(256)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
170 w13.Name = "WarFoundrySharp.FrmNewArmy_ActionArea"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
171 w13.Spacing = 6; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
172 w13.BorderWidth = ((uint)(5)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
173 w13.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
174 // Container child WarFoundrySharp.FrmNewArmy_ActionArea.Gtk.ButtonBox+ButtonBoxChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
175 this.bttnCancel = new global::Gtk.Button(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
176 this.bttnCancel.CanFocus = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
177 this.bttnCancel.Name = "bttnCancel"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
178 this.bttnCancel.UseStock = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
179 this.bttnCancel.UseUnderline = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
180 this.bttnCancel.Label = "gtk-cancel"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
181 this.AddActionWidget(this.bttnCancel, -6); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
182 global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13[this.bttnCancel])); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
183 w14.Expand = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
184 w14.Fill = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
185 // Container child WarFoundrySharp.FrmNewArmy_ActionArea.Gtk.ButtonBox+ButtonBoxChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
186 this.bttnCreate = new global::Gtk.Button(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
187 this.bttnCreate.Sensitive = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
188 this.bttnCreate.CanDefault = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
189 this.bttnCreate.CanFocus = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
190 this.bttnCreate.Name = "bttnCreate"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
191 this.bttnCreate.UseUnderline = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
192 // Container child bttnCreate.Gtk.Container+ContainerChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
193 global::Gtk.Alignment w15 = new global::Gtk.Alignment(0.5f, 0.5f, 0f, 0f); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
194 // Container child GtkAlignment.Gtk.Container+ContainerChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
195 global::Gtk.HBox w16 = new global::Gtk.HBox(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
196 w16.Spacing = 2; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
197 // Container child GtkHBox.Gtk.Container+ContainerChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
198 global::Gtk.Image w17 = new global::Gtk.Image(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
199 w17.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-ok", global::Gtk.IconSize.Menu); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
200 w16.Add(w17); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
201 // Container child GtkHBox.Gtk.Container+ContainerChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
202 global::Gtk.Label w19 = new global::Gtk.Label(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
203 w19.LabelProp = global::Mono.Unix.Catalog.GetString("C_reate"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
204 w19.UseUnderline = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
205 w16.Add(w19); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
206 w15.Add(w16); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
207 this.bttnCreate.Add(w15); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
208 this.AddActionWidget(this.bttnCreate, -5); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
209 global::Gtk.ButtonBox.ButtonBoxChild w23 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13[this.bttnCreate])); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
210 w23.Position = 1; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
211 w23.Expand = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
212 w23.Fill = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
213 if ((this.Child != null)) |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
214 { |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
215 this.Child.ShowAll(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
216 } |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
217 this.DefaultWidth = 370; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
218 this.DefaultHeight = 348; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
219 this.Show(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
220 this.txtArmyName.Changed += new global::System.EventHandler(this.OnTextChanged); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
221 this.systemCombo.Changed += new global::System.EventHandler(this.OnSystemComboChanged); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
222 this.sbPointsValue.ChangeValue += new global::Gtk.ChangeValueHandler(this.OnSpinChangeValue); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
223 this.sbPointsValue.ValueChanged += new global::System.EventHandler(this.OnSpinValueChanged); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
224 this.sbPointsValue.Changed += new global::System.EventHandler(this.OnSpinValueChanged); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
225 this.bttnCancel.Clicked += new global::System.EventHandler(this.OnCancelClicked); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
226 this.bttnCreate.Clicked += new global::System.EventHandler(this.OnCreateClicked); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
227 } |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
228 } |
5 | 229 } |