Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
annotate gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.cs @ 119:3c9b47bf8028
* Add .hgignore
* Swap solution to using AnyCPU version of NUnit project
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 30 Aug 2011 20:54:21 +0100 |
parents | 23b1c3bdc525 |
children | 42d2aa87dfa7 |
rev | line source |
---|---|
77 | 1 |
2 // This file has been generated by the GUI designer. Do not modify. | |
3 namespace IBBoard.WarFoundry.GUI.GTK | |
4 { | |
5 public partial class FrmMainWindow | |
6 { | |
7 private global::Gtk.UIManager UIManager; | |
8 private global::Gtk.Action menuFile; | |
81
3ff8e10de45a
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
9 private global::Gtk.Action miNewArmy; |
77 | 10 private global::Gtk.Action miOpenArmy; |
11 private global::Gtk.Action miSaveArmy; | |
12 private global::Gtk.Action miSaveArmyAs; | |
13 private global::Gtk.Action miCloseArmy; | |
82
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
14 private global::Gtk.Action miReloadFiles; |
77 | 15 private global::Gtk.Action miExit; |
16 private global::Gtk.Action menuEdit; | |
17 private global::Gtk.Action miUndo; | |
18 private global::Gtk.Action miRedo; | |
19 private global::Gtk.Action menuHelp; | |
20 private global::Gtk.Action miAbout; | |
21 private global::Gtk.Action miDebugInformation; | |
82
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
22 private global::Gtk.Action bttnNewArmy; |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
23 private global::Gtk.Action bttnOpenArmy; |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
24 private global::Gtk.Action bttnSaveArmy; |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
25 private global::Gtk.Action bttnUndo; |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
26 private global::Gtk.Action bttnRedo; |
77 | 27 private global::Gtk.Action goDown; |
28 private global::Gtk.Action add; | |
81
3ff8e10de45a
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
29 private global::Gtk.Action miExportArmyAs; |
100
23b1c3bdc525
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
99
diff
changeset
|
30 private global::Gtk.Action miExportArmyAsBasicHTML; |
95
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
82
diff
changeset
|
31 private global::Gtk.Action miPreferences; |
77 | 32 private global::Gtk.VBox vbox1; |
33 private global::Gtk.MenuBar menubar1; | |
34 private global::Gtk.Toolbar toolbar; | |
35 private global::Gtk.HPaned hpaned2; | |
36 private global::Gtk.TreeView treeUnits; | |
37 private global::Gtk.Notebook unitsNotebook; | |
38 private global::Gtk.Statusbar statusbar1; | |
99
8777e4f64d8e
Fixes #335: Show current points total in status bar
IBBoard <dev@ibboard.co.uk>
parents:
95
diff
changeset
|
39 private global::Gtk.Label lblTotalPoints; |
77 | 40 |
41 protected virtual void Build() | |
42 { | |
43 global::Stetic.Gui.Initialize(this); | |
44 // Widget IBBoard.WarFoundry.GUI.GTK.FrmMainWindow | |
45 this.UIManager = new global::Gtk.UIManager(); | |
46 global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); | |
47 this.menuFile = new global::Gtk.Action("menuFile", global::Mono.Unix.Catalog.GetString("File"), null, null); | |
48 this.menuFile.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); | |
49 w1.Add(this.menuFile, null); | |
81
3ff8e10de45a
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
50 this.miNewArmy = new global::Gtk.Action("miNewArmy", global::Mono.Unix.Catalog.GetString("Create army"), null, "gtk-new"); |
3ff8e10de45a
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
51 this.miNewArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Create army"); |
3ff8e10de45a
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
52 w1.Add(this.miNewArmy, null); |
77 | 53 this.miOpenArmy = new global::Gtk.Action("miOpenArmy", global::Mono.Unix.Catalog.GetString("Open army"), null, "gtk-open"); |
54 this.miOpenArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Open army"); | |
55 w1.Add(this.miOpenArmy, null); | |
56 this.miSaveArmy = new global::Gtk.Action("miSaveArmy", global::Mono.Unix.Catalog.GetString("Save army"), null, "gtk-save"); | |
57 this.miSaveArmy.Sensitive = false; | |
58 this.miSaveArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Save army"); | |
59 w1.Add(this.miSaveArmy, null); | |
60 this.miSaveArmyAs = new global::Gtk.Action("miSaveArmyAs", global::Mono.Unix.Catalog.GetString("Save army as"), null, "gtk-save-as"); | |
61 this.miSaveArmyAs.Sensitive = false; | |
62 this.miSaveArmyAs.ShortLabel = global::Mono.Unix.Catalog.GetString("Save army as"); | |
63 w1.Add(this.miSaveArmyAs, null); | |
64 this.miCloseArmy = new global::Gtk.Action("miCloseArmy", global::Mono.Unix.Catalog.GetString("Close army"), null, "gtk-close"); | |
65 this.miCloseArmy.Sensitive = false; | |
66 this.miCloseArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Close army"); | |
67 w1.Add(this.miCloseArmy, null); | |
82
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
68 this.miReloadFiles = new global::Gtk.Action("miReloadFiles", global::Mono.Unix.Catalog.GetString("Reload files"), null, "gtk-refresh"); |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
69 this.miReloadFiles.ShortLabel = global::Mono.Unix.Catalog.GetString("Reload files"); |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
70 w1.Add(this.miReloadFiles, null); |
77 | 71 this.miExit = new global::Gtk.Action("miExit", global::Mono.Unix.Catalog.GetString("Exit"), null, "gtk-quit"); |
72 this.miExit.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit"); | |
73 w1.Add(this.miExit, null); | |
74 this.menuEdit = new global::Gtk.Action("menuEdit", global::Mono.Unix.Catalog.GetString("Edit"), null, null); | |
75 this.menuEdit.ShortLabel = global::Mono.Unix.Catalog.GetString("Edit"); | |
76 w1.Add(this.menuEdit, null); | |
77 this.miUndo = new global::Gtk.Action("miUndo", global::Mono.Unix.Catalog.GetString("Undo"), null, "gtk-undo"); | |
78 this.miUndo.Sensitive = false; | |
79 this.miUndo.ShortLabel = global::Mono.Unix.Catalog.GetString("Undo"); | |
80 w1.Add(this.miUndo, null); | |
81 this.miRedo = new global::Gtk.Action("miRedo", global::Mono.Unix.Catalog.GetString("Redo"), null, "gtk-redo"); | |
82 this.miRedo.Sensitive = false; | |
83 this.miRedo.ShortLabel = global::Mono.Unix.Catalog.GetString("Redo"); | |
84 w1.Add(this.miRedo, null); | |
85 this.menuHelp = new global::Gtk.Action("menuHelp", global::Mono.Unix.Catalog.GetString("Help"), null, null); | |
86 this.menuHelp.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); | |
87 w1.Add(this.menuHelp, null); | |
88 this.miAbout = new global::Gtk.Action("miAbout", global::Mono.Unix.Catalog.GetString("About"), null, "gtk-about"); | |
89 this.miAbout.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); | |
90 w1.Add(this.miAbout, null); | |
91 this.miDebugInformation = new global::Gtk.Action("miDebugInformation", global::Mono.Unix.Catalog.GetString("Debug Information"), null, null); | |
92 this.miDebugInformation.ShortLabel = global::Mono.Unix.Catalog.GetString("Debug Information"); | |
93 w1.Add(this.miDebugInformation, null); | |
82
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
94 this.bttnNewArmy = new global::Gtk.Action("bttnNewArmy", null, null, "gtk-new"); |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
95 w1.Add(this.bttnNewArmy, null); |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
96 this.bttnOpenArmy = new global::Gtk.Action("bttnOpenArmy", null, null, "gtk-open"); |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
97 w1.Add(this.bttnOpenArmy, null); |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
98 this.bttnSaveArmy = new global::Gtk.Action("bttnSaveArmy", null, null, "gtk-save"); |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
99 this.bttnSaveArmy.Sensitive = false; |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
100 w1.Add(this.bttnSaveArmy, null); |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
101 this.bttnUndo = new global::Gtk.Action("bttnUndo", null, null, "gtk-undo"); |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
102 this.bttnUndo.Sensitive = false; |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
103 w1.Add(this.bttnUndo, null); |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
104 this.bttnRedo = new global::Gtk.Action("bttnRedo", null, null, "gtk-redo"); |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
105 this.bttnRedo.Sensitive = false; |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
106 w1.Add(this.bttnRedo, null); |
77 | 107 this.goDown = new global::Gtk.Action("goDown", null, null, null); |
108 w1.Add(this.goDown, null); | |
109 this.add = new global::Gtk.Action("add", null, null, "gtk-add"); | |
110 w1.Add(this.add, null); | |
81
3ff8e10de45a
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
111 this.miExportArmyAs = new global::Gtk.Action("miExportArmyAs", global::Mono.Unix.Catalog.GetString("Export army as..."), null, "gtk-convert"); |
3ff8e10de45a
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
112 this.miExportArmyAs.Sensitive = false; |
95
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
82
diff
changeset
|
113 this.miExportArmyAs.ShortLabel = global::Mono.Unix.Catalog.GetString("Export army as..."); |
81
3ff8e10de45a
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
114 w1.Add(this.miExportArmyAs, null); |
100
23b1c3bdc525
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
99
diff
changeset
|
115 this.miExportArmyAsBasicHTML = new global::Gtk.Action("miExportArmyAsBasicHTML", global::Mono.Unix.Catalog.GetString("Basic HTML"), null, null); |
23b1c3bdc525
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
99
diff
changeset
|
116 this.miExportArmyAsBasicHTML.ShortLabel = global::Mono.Unix.Catalog.GetString("Basic HTML"); |
23b1c3bdc525
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
99
diff
changeset
|
117 w1.Add(this.miExportArmyAsBasicHTML, null); |
95
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
82
diff
changeset
|
118 this.miPreferences = new global::Gtk.Action("miPreferences", global::Mono.Unix.Catalog.GetString("preferences"), null, "gtk-preferences"); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
82
diff
changeset
|
119 this.miPreferences.ShortLabel = global::Mono.Unix.Catalog.GetString("preferences"); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
82
diff
changeset
|
120 w1.Add(this.miPreferences, null); |
77 | 121 this.UIManager.InsertActionGroup(w1, 0); |
122 this.AddAccelGroup(this.UIManager.AccelGroup); | |
123 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmMainWindow"; | |
124 this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); | |
125 this.Icon = global::Gdk.Pixbuf.LoadFromResource("App.ico"); | |
126 // Container child IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.Gtk.Container+ContainerChild | |
127 this.vbox1 = new global::Gtk.VBox(); | |
128 this.vbox1.Name = "vbox1"; | |
129 // Container child vbox1.Gtk.Box+BoxChild | |
100
23b1c3bdc525
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
99
diff
changeset
|
130 this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='menuFile' action='menuFile'><menuitem name='miNewArmy' action='miNewArmy'/><menuitem name='miOpenArmy' action='miOpenArmy'/><menuitem name='miSaveArmy' action='miSaveArmy'/><menuitem name='miSaveArmyAs' action='miSaveArmyAs'/><menu name='miExportArmyAs' action='miExportArmyAs'><menuitem name='miExportArmyAsBasicHTML' action='miExportArmyAsBasicHTML'/></menu><menuitem name='miCloseArmy' action='miCloseArmy'/><separator/><menuitem name='miReloadFiles' action='miReloadFiles'/><separator/><menuitem name='miExit' action='miExit'/></menu><menu name='menuEdit' action='menuEdit'><menuitem name='miUndo' action='miUndo'/><menuitem name='miRedo' action='miRedo'/><separator/><menuitem name='miPreferences' action='miPreferences'/></menu><menu name='menuHelp' action='menuHelp'><menuitem name='miAbout' action='miAbout'/></menu></menubar></ui>"); |
77 | 131 this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); |
132 this.menubar1.Name = "menubar1"; | |
133 this.vbox1.Add(this.menubar1); | |
134 global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1])); | |
135 w2.Position = 0; | |
136 w2.Expand = false; | |
137 w2.Fill = false; | |
138 // Container child vbox1.Gtk.Box+BoxChild | |
82
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
139 this.UIManager.AddUiFromString("<ui><toolbar name='toolbar'><toolitem name='bttnNewArmy' action='bttnNewArmy'/><toolitem name='bttnOpenArmy' action='bttnOpenArmy'/><toolitem name='bttnSaveArmy' action='bttnSaveArmy'/><separator/><toolitem name='bttnUndo' action='bttnUndo'/><toolitem name='bttnRedo' action='bttnRedo'/><separator/></toolbar></ui>"); |
77 | 140 this.toolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar"))); |
141 this.toolbar.HeightRequest = 36; | |
142 this.toolbar.Name = "toolbar"; | |
143 this.toolbar.ShowArrow = false; | |
144 this.toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); | |
145 this.toolbar.IconSize = ((global::Gtk.IconSize)(3)); | |
146 this.vbox1.Add(this.toolbar); | |
147 global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.toolbar])); | |
148 w3.Position = 1; | |
149 w3.Expand = false; | |
150 w3.Fill = false; | |
151 // Container child vbox1.Gtk.Box+BoxChild | |
152 this.hpaned2 = new global::Gtk.HPaned(); | |
153 this.hpaned2.CanFocus = true; | |
154 this.hpaned2.Name = "hpaned2"; | |
155 this.hpaned2.Position = 178; | |
156 // Container child hpaned2.Gtk.Paned+PanedChild | |
157 this.treeUnits = new global::Gtk.TreeView(); | |
158 this.treeUnits.CanFocus = true; | |
159 this.treeUnits.Name = "treeUnits"; | |
160 this.hpaned2.Add(this.treeUnits); | |
161 global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned2[this.treeUnits])); | |
162 w4.Resize = false; | |
163 // Container child hpaned2.Gtk.Paned+PanedChild | |
164 this.unitsNotebook = new global::Gtk.Notebook(); | |
165 this.unitsNotebook.CanFocus = true; | |
166 this.unitsNotebook.Name = "unitsNotebook"; | |
167 this.unitsNotebook.CurrentPage = -1; | |
168 this.unitsNotebook.Scrollable = true; | |
169 this.hpaned2.Add(this.unitsNotebook); | |
170 this.vbox1.Add(this.hpaned2); | |
171 global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hpaned2])); | |
172 w6.Position = 2; | |
173 // Container child vbox1.Gtk.Box+BoxChild | |
174 this.statusbar1 = new global::Gtk.Statusbar(); | |
175 this.statusbar1.Name = "statusbar1"; | |
176 this.statusbar1.Spacing = 2; | |
99
8777e4f64d8e
Fixes #335: Show current points total in status bar
IBBoard <dev@ibboard.co.uk>
parents:
95
diff
changeset
|
177 // Container child statusbar1.Gtk.Box+BoxChild |
8777e4f64d8e
Fixes #335: Show current points total in status bar
IBBoard <dev@ibboard.co.uk>
parents:
95
diff
changeset
|
178 this.lblTotalPoints = new global::Gtk.Label(); |
8777e4f64d8e
Fixes #335: Show current points total in status bar
IBBoard <dev@ibboard.co.uk>
parents:
95
diff
changeset
|
179 this.lblTotalPoints.Name = "lblTotalPoints"; |
8777e4f64d8e
Fixes #335: Show current points total in status bar
IBBoard <dev@ibboard.co.uk>
parents:
95
diff
changeset
|
180 this.statusbar1.Add(this.lblTotalPoints); |
8777e4f64d8e
Fixes #335: Show current points total in status bar
IBBoard <dev@ibboard.co.uk>
parents:
95
diff
changeset
|
181 global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.statusbar1[this.lblTotalPoints])); |
8777e4f64d8e
Fixes #335: Show current points total in status bar
IBBoard <dev@ibboard.co.uk>
parents:
95
diff
changeset
|
182 w7.Position = 2; |
77 | 183 w7.Expand = false; |
184 w7.Fill = false; | |
99
8777e4f64d8e
Fixes #335: Show current points total in status bar
IBBoard <dev@ibboard.co.uk>
parents:
95
diff
changeset
|
185 this.vbox1.Add(this.statusbar1); |
8777e4f64d8e
Fixes #335: Show current points total in status bar
IBBoard <dev@ibboard.co.uk>
parents:
95
diff
changeset
|
186 global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); |
8777e4f64d8e
Fixes #335: Show current points total in status bar
IBBoard <dev@ibboard.co.uk>
parents:
95
diff
changeset
|
187 w8.Position = 3; |
8777e4f64d8e
Fixes #335: Show current points total in status bar
IBBoard <dev@ibboard.co.uk>
parents:
95
diff
changeset
|
188 w8.Expand = false; |
8777e4f64d8e
Fixes #335: Show current points total in status bar
IBBoard <dev@ibboard.co.uk>
parents:
95
diff
changeset
|
189 w8.Fill = false; |
77 | 190 this.Add(this.vbox1); |
191 if ((this.Child != null)) | |
192 { | |
193 this.Child.ShowAll(); | |
194 } | |
195 this.DefaultWidth = 832; | |
196 this.DefaultHeight = 659; | |
197 this.hpaned2.Hide(); | |
198 this.Show(); | |
81
3ff8e10de45a
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
199 this.miNewArmy.Activated += new global::System.EventHandler(this.OnCreateArmyActivated); |
77 | 200 this.miOpenArmy.Activated += new global::System.EventHandler(this.OnOpenArmyActivated); |
201 this.miSaveArmy.Activated += new global::System.EventHandler(this.OnSaveArmyActivated); | |
202 this.miSaveArmyAs.Activated += new global::System.EventHandler(this.OnSaveArmyAsActivated); | |
203 this.miCloseArmy.Activated += new global::System.EventHandler(this.OnCloseArmyActivated); | |
82
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
204 this.miReloadFiles.Activated += new global::System.EventHandler(this.OnReloadFilesActivated); |
77 | 205 this.miExit.Activated += new global::System.EventHandler(this.OnExitActivated); |
206 this.miAbout.Activated += new global::System.EventHandler(this.HelpAboutActivated); | |
82
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
207 this.bttnNewArmy.Activated += new global::System.EventHandler(this.newTBButtonActivated); |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
208 this.bttnOpenArmy.Activated += new global::System.EventHandler(this.openTBButtonActivated); |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
209 this.bttnSaveArmy.Activated += new global::System.EventHandler(this.saveTBButtonActivated); |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
210 this.bttnUndo.Activated += new global::System.EventHandler(this.undoTBButtonActivated); |
fb16ca1cb52b
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
81
diff
changeset
|
211 this.bttnRedo.Activated += new global::System.EventHandler(this.redoTBButtonActivated); |
100
23b1c3bdc525
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
99
diff
changeset
|
212 this.miExportArmyAsBasicHTML.Activated += new global::System.EventHandler(this.OnMiExportAsBasicHtmlActivated); |
95
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
82
diff
changeset
|
213 this.miPreferences.Activated += new global::System.EventHandler(this.miPreferencesClicked); |
77 | 214 this.treeUnits.RowActivated += new global::Gtk.RowActivatedHandler(this.ArmyRowActivated); |
215 this.treeUnits.PopupMenu += new global::Gtk.PopupMenuHandler(this.OnTreeUnitsPopupMenu); | |
216 this.treeUnits.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.UnitTreeButtonPressed); | |
217 this.unitsNotebook.Removed += new global::Gtk.RemovedHandler(this.NotebookPageRemoved); | |
218 } | |
219 } | |
220 } |