diff gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs @ 40:0bd9c85d3c5d

Re #86: Complete initial GTK# UI * Add sln to make solution loading easier * Commit rebuild UI files
author IBBoard <dev@ibboard.co.uk>
date Sat, 07 Aug 2010 19:56:05 +0000
parents d68992a831df
children 4e127ce8682f
line wrap: on
line diff
--- a/gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs	Sun Jan 31 20:46:06 2010 +0000
+++ b/gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs	Sat Aug 07 19:56:05 2010 +0000
@@ -1,240 +1,233 @@
-// ------------------------------------------------------------------------------
-//  <autogenerated>
-//      This code was generated by a tool.
-//      
-// 
-//      Changes to this file may cause incorrect behavior and will be lost if 
-//      the code is regenerated.
-//  </autogenerated>
-// ------------------------------------------------------------------------------
+
+// This file has been generated by the GUI designer. Do not modify.
+namespace IBBoard.WarFoundry.GTK
+{
+	public partial class FrmMainWindow
+	{
+		private global::Gtk.UIManager UIManager;
+
+		private global::Gtk.Action menuFile;
+
+		private global::Gtk.Action miCreateArmy;
+
+		private global::Gtk.Action miOpenArmy;
+
+		private global::Gtk.Action miSaveArmy;
+
+		private global::Gtk.Action miSaveArmyAs;
+
+		private global::Gtk.Action miCloseArmy;
+
+		private global::Gtk.Action miReloadFiles;
+
+		private global::Gtk.Action miExit;
+
+		private global::Gtk.Action menuEdit;
+
+		private global::Gtk.Action miUndo;
+
+		private global::Gtk.Action miRedo;
+
+		private global::Gtk.Action menuHelp;
+
+		private global::Gtk.Action miAbout;
+
+		private global::Gtk.Action miDebugInformation;
+
+		private global::Gtk.Action newArmyButton;
+
+		private global::Gtk.Action openArmyButton;
+
+		private global::Gtk.Action saveArmyButton;
+
+		private global::Gtk.Action undoActionButton;
+
+		private global::Gtk.Action redoActionButton;
+
+		private global::Gtk.Action goDown;
+
+		private global::Gtk.Action @add;
+
+		private global::Gtk.Action miExportArmy;
+
+		private global::Gtk.Action miExportAsBasicHtml;
+
+		private global::Gtk.VBox vbox1;
+
+		private global::Gtk.MenuBar menubar1;
+
+		private global::Gtk.Toolbar toolbar;
+
+		private global::Gtk.HPaned hpaned2;
+
+		private global::Gtk.TreeView treeUnits;
+
+		private global::Gtk.Notebook unitsNotebook;
+
+		private global::Gtk.Statusbar statusbar1;
 
-namespace IBBoard.WarFoundry.GTK {
-    
-    
-    public partial class FrmMainWindow {
-        
-        private Gtk.UIManager UIManager;
-        
-        private Gtk.Action menuFile;
-        
-        private Gtk.Action miCreateArmy;
-        
-        private Gtk.Action miOpenArmy;
-        
-        private Gtk.Action miSaveArmy;
-        
-        private Gtk.Action miSaveArmyAs;
-        
-        private Gtk.Action miCloseArmy;
-        
-        private Gtk.Action miReloadFiles;
-        
-        private Gtk.Action miExit;
-        
-        private Gtk.Action menuEdit;
-        
-        private Gtk.Action miUndo;
-        
-        private Gtk.Action miRedo;
-        
-        private Gtk.Action menuHelp;
-        
-        private Gtk.Action miAbout;
-        
-        private Gtk.Action miDebugInformation;
-        
-        private Gtk.Action newArmyButton;
-        
-        private Gtk.Action openArmyButton;
-        
-        private Gtk.Action saveArmyButton;
-        
-        private Gtk.Action undoActionButton;
-        
-        private Gtk.Action redoActionButton;
-        
-        private Gtk.Action goDown;
-        
-        private Gtk.Action add;
-        
-        private Gtk.Action miExportArmy;
-        
-        private Gtk.Action miExportAsBasicHtml;
-        
-        private Gtk.VBox vbox1;
-        
-        private Gtk.MenuBar menubar1;
-        
-        private Gtk.Toolbar toolbar;
-        
-        private Gtk.HPaned hpaned2;
-        
-        private Gtk.TreeView treeUnits;
-        
-        private Gtk.Notebook unitsNotebook;
-        
-        private Gtk.Statusbar statusbar1;
-        
-        protected virtual void Build() {
-            Stetic.Gui.Initialize(this);
-            // Widget IBBoard.WarFoundry.GTK.FrmMainWindow
-            this.UIManager = new Gtk.UIManager();
-            Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default");
-            this.menuFile = new Gtk.Action("menuFile", Mono.Unix.Catalog.GetString("File"), null, null);
-            this.menuFile.ShortLabel = Mono.Unix.Catalog.GetString("File");
-            w1.Add(this.menuFile, null);
-            this.miCreateArmy = new Gtk.Action("miCreateArmy", Mono.Unix.Catalog.GetString("Create army"), null, "gtk-new");
-            this.miCreateArmy.ShortLabel = Mono.Unix.Catalog.GetString("Create army");
-            w1.Add(this.miCreateArmy, null);
-            this.miOpenArmy = new Gtk.Action("miOpenArmy", Mono.Unix.Catalog.GetString("Open army"), null, "gtk-open");
-            this.miOpenArmy.ShortLabel = Mono.Unix.Catalog.GetString("Open army");
-            w1.Add(this.miOpenArmy, null);
-            this.miSaveArmy = new Gtk.Action("miSaveArmy", Mono.Unix.Catalog.GetString("Save army"), null, "gtk-save");
-            this.miSaveArmy.Sensitive = false;
-            this.miSaveArmy.ShortLabel = Mono.Unix.Catalog.GetString("Save army");
-            w1.Add(this.miSaveArmy, null);
-            this.miSaveArmyAs = new Gtk.Action("miSaveArmyAs", Mono.Unix.Catalog.GetString("Save army as"), null, "gtk-save-as");
-            this.miSaveArmyAs.Sensitive = false;
-            this.miSaveArmyAs.ShortLabel = Mono.Unix.Catalog.GetString("Save army as");
-            w1.Add(this.miSaveArmyAs, null);
-            this.miCloseArmy = new Gtk.Action("miCloseArmy", Mono.Unix.Catalog.GetString("Close army"), null, "gtk-close");
-            this.miCloseArmy.Sensitive = false;
-            this.miCloseArmy.ShortLabel = Mono.Unix.Catalog.GetString("Close army");
-            w1.Add(this.miCloseArmy, null);
-            this.miReloadFiles = new Gtk.Action("miReloadFiles", Mono.Unix.Catalog.GetString("Reload files"), null, "gtk-refresh");
-            this.miReloadFiles.Sensitive = false;
-            this.miReloadFiles.ShortLabel = Mono.Unix.Catalog.GetString("Reload files");
-            w1.Add(this.miReloadFiles, null);
-            this.miExit = new Gtk.Action("miExit", Mono.Unix.Catalog.GetString("Exit"), null, "gtk-quit");
-            this.miExit.ShortLabel = Mono.Unix.Catalog.GetString("Exit");
-            w1.Add(this.miExit, null);
-            this.menuEdit = new Gtk.Action("menuEdit", Mono.Unix.Catalog.GetString("Edit"), null, null);
-            this.menuEdit.ShortLabel = Mono.Unix.Catalog.GetString("Edit");
-            w1.Add(this.menuEdit, null);
-            this.miUndo = new Gtk.Action("miUndo", Mono.Unix.Catalog.GetString("Undo"), null, "gtk-undo");
-            this.miUndo.Sensitive = false;
-            this.miUndo.ShortLabel = Mono.Unix.Catalog.GetString("Undo");
-            w1.Add(this.miUndo, null);
-            this.miRedo = new Gtk.Action("miRedo", Mono.Unix.Catalog.GetString("Redo"), null, "gtk-redo");
-            this.miRedo.Sensitive = false;
-            this.miRedo.ShortLabel = Mono.Unix.Catalog.GetString("Redo");
-            w1.Add(this.miRedo, null);
-            this.menuHelp = new Gtk.Action("menuHelp", Mono.Unix.Catalog.GetString("Help"), null, null);
-            this.menuHelp.ShortLabel = Mono.Unix.Catalog.GetString("Help");
-            w1.Add(this.menuHelp, null);
-            this.miAbout = new Gtk.Action("miAbout", Mono.Unix.Catalog.GetString("About"), null, "gtk-about");
-            this.miAbout.ShortLabel = Mono.Unix.Catalog.GetString("About");
-            w1.Add(this.miAbout, null);
-            this.miDebugInformation = new Gtk.Action("miDebugInformation", Mono.Unix.Catalog.GetString("Debug Information"), null, null);
-            this.miDebugInformation.ShortLabel = Mono.Unix.Catalog.GetString("Debug Information");
-            w1.Add(this.miDebugInformation, null);
-            this.newArmyButton = new Gtk.Action("newArmyButton", null, null, "gtk-new");
-            w1.Add(this.newArmyButton, null);
-            this.openArmyButton = new Gtk.Action("openArmyButton", null, null, "gtk-open");
-            w1.Add(this.openArmyButton, null);
-            this.saveArmyButton = new Gtk.Action("saveArmyButton", null, null, "gtk-save");
-            this.saveArmyButton.Sensitive = false;
-            w1.Add(this.saveArmyButton, null);
-            this.undoActionButton = new Gtk.Action("undoActionButton", null, null, "gtk-undo");
-            this.undoActionButton.Sensitive = false;
-            w1.Add(this.undoActionButton, null);
-            this.redoActionButton = new Gtk.Action("redoActionButton", null, null, "gtk-redo");
-            this.redoActionButton.Sensitive = false;
-            w1.Add(this.redoActionButton, null);
-            this.goDown = new Gtk.Action("goDown", null, null, null);
-            w1.Add(this.goDown, null);
-            this.add = new Gtk.Action("add", null, null, "gtk-add");
-            w1.Add(this.add, null);
-            this.miExportArmy = new Gtk.Action("miExportArmy", Mono.Unix.Catalog.GetString("Export army as..."), null, "gtk-convert");
-            this.miExportArmy.Sensitive = false;
-            this.miExportArmy.ShortLabel = Mono.Unix.Catalog.GetString("Export army");
-            w1.Add(this.miExportArmy, null);
-            this.miExportAsBasicHtml = new Gtk.Action("miExportAsBasicHtml", Mono.Unix.Catalog.GetString("Basic HTML"), null, null);
-            this.miExportAsBasicHtml.ShortLabel = Mono.Unix.Catalog.GetString("Basic HTML");
-            w1.Add(this.miExportAsBasicHtml, null);
-            this.UIManager.InsertActionGroup(w1, 0);
-            this.AddAccelGroup(this.UIManager.AccelGroup);
-            this.Name = "IBBoard.WarFoundry.GTK.FrmMainWindow";
-            this.Title = Mono.Unix.Catalog.GetString("MainWindow");
-            this.Icon = Gdk.Pixbuf.LoadFromResource("App.ico");
-            // Container child IBBoard.WarFoundry.GTK.FrmMainWindow.Gtk.Container+ContainerChild
-            this.vbox1 = new Gtk.VBox();
-            this.vbox1.Name = "vbox1";
-            // Container child vbox1.Gtk.Box+BoxChild
-            this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='menuFile' action='menuFile'><menuitem name='miCreateArmy' action='miCreateArmy'/><menuitem name='miOpenArmy' action='miOpenArmy'/><menuitem name='miSaveArmy' action='miSaveArmy'/><menuitem name='miSaveArmyAs' action='miSaveArmyAs'/><menu name='miExportArmy' action='miExportArmy'><menuitem name='miExportAsBasicHtml' action='miExportAsBasicHtml'/></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'/></menu><menu name='menuHelp' action='menuHelp'><menuitem name='miAbout' action='miAbout'/><menuitem name='miDebugInformation' action='miDebugInformation'/></menu></menubar></ui>");
-            this.menubar1 = ((Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
-            this.menubar1.Name = "menubar1";
-            this.vbox1.Add(this.menubar1);
-            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
-            w2.Position = 0;
-            w2.Expand = false;
-            w2.Fill = false;
-            // Container child vbox1.Gtk.Box+BoxChild
-            this.UIManager.AddUiFromString("<ui><toolbar name='toolbar'><toolitem name='newArmyButton' action='newArmyButton'/><toolitem name='openArmyButton' action='openArmyButton'/><toolitem name='saveArmyButton' action='saveArmyButton'/><separator/><toolitem name='undoActionButton' action='undoActionButton'/><toolitem name='redoActionButton' action='redoActionButton'/><separator/></toolbar></ui>");
-            this.toolbar = ((Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar")));
-            this.toolbar.HeightRequest = 36;
-            this.toolbar.Name = "toolbar";
-            this.toolbar.ShowArrow = false;
-            this.toolbar.ToolbarStyle = ((Gtk.ToolbarStyle)(0));
-            this.toolbar.IconSize = ((Gtk.IconSize)(3));
-            this.vbox1.Add(this.toolbar);
-            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.toolbar]));
-            w3.Position = 1;
-            w3.Expand = false;
-            w3.Fill = false;
-            // Container child vbox1.Gtk.Box+BoxChild
-            this.hpaned2 = new Gtk.HPaned();
-            this.hpaned2.CanFocus = true;
-            this.hpaned2.Name = "hpaned2";
-            this.hpaned2.Position = 178;
-            // Container child hpaned2.Gtk.Paned+PanedChild
-            this.treeUnits = new Gtk.TreeView();
-            this.treeUnits.CanFocus = true;
-            this.treeUnits.Name = "treeUnits";
-            this.hpaned2.Add(this.treeUnits);
-            Gtk.Paned.PanedChild w4 = ((Gtk.Paned.PanedChild)(this.hpaned2[this.treeUnits]));
-            w4.Resize = false;
-            // Container child hpaned2.Gtk.Paned+PanedChild
-            this.unitsNotebook = new Gtk.Notebook();
-            this.unitsNotebook.CanFocus = true;
-            this.unitsNotebook.Name = "unitsNotebook";
-            this.unitsNotebook.CurrentPage = -1;
-            this.hpaned2.Add(this.unitsNotebook);
-            this.vbox1.Add(this.hpaned2);
-            Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox1[this.hpaned2]));
-            w6.Position = 2;
-            // Container child vbox1.Gtk.Box+BoxChild
-            this.statusbar1 = new Gtk.Statusbar();
-            this.statusbar1.Name = "statusbar1";
-            this.statusbar1.Spacing = 2;
-            this.vbox1.Add(this.statusbar1);
-            Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox1[this.statusbar1]));
-            w7.Position = 3;
-            w7.Expand = false;
-            w7.Fill = false;
-            this.Add(this.vbox1);
-            if ((this.Child != null)) {
-                this.Child.ShowAll();
-            }
-            this.DefaultWidth = 832;
-            this.DefaultHeight = 659;
-            this.Show();
-            this.miCreateArmy.Activated += new System.EventHandler(this.OnCreateArmyActivated);
-            this.miOpenArmy.Activated += new System.EventHandler(this.OnOpenArmyActivated);
-            this.miSaveArmy.Activated += new System.EventHandler(this.OnSaveArmyActivated);
-            this.miSaveArmyAs.Activated += new System.EventHandler(this.OnSaveArmyAsActivated);
-            this.miCloseArmy.Activated += new System.EventHandler(this.OnCloseArmyActivated);
-            this.miReloadFiles.Activated += new System.EventHandler(this.OnReloadFilesActivated);
-            this.miExit.Activated += new System.EventHandler(this.OnExitActivated);
-            this.newArmyButton.Activated += new System.EventHandler(this.newTBButtonActivated);
-            this.openArmyButton.Activated += new System.EventHandler(this.openTBButtonActivated);
-            this.saveArmyButton.Activated += new System.EventHandler(this.saveTBButtonActivated);
-            this.undoActionButton.Activated += new System.EventHandler(this.undoTBButtonActivated);
-            this.redoActionButton.Activated += new System.EventHandler(this.redoTBButtonActivated);
-            this.miExportAsBasicHtml.Activated += new System.EventHandler(this.OnMiExportAsBasicHtmlActivated);
-            this.treeUnits.RowActivated += new Gtk.RowActivatedHandler(this.ArmyRowActivated);
-            this.treeUnits.PopupMenu += new Gtk.PopupMenuHandler(this.OnTreeUnitsPopupMenu);
-            this.treeUnits.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.UnitTreeButtonPressed);
-        }
-    }
+		protected virtual void Build()
+		{
+			global::Stetic.Gui.Initialize(this);
+			// Widget IBBoard.WarFoundry.GTK.FrmMainWindow
+			this.UIManager = new global::Gtk.UIManager();
+			global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
+			this.menuFile = new global::Gtk.Action("menuFile", global::Mono.Unix.Catalog.GetString("File"), null, null);
+			this.menuFile.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
+			w1.Add(this.menuFile, null);
+			this.miCreateArmy = new global::Gtk.Action("miCreateArmy", global::Mono.Unix.Catalog.GetString("Create army"), null, "gtk-new");
+			this.miCreateArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Create army");
+			w1.Add(this.miCreateArmy, null);
+			this.miOpenArmy = new global::Gtk.Action("miOpenArmy", global::Mono.Unix.Catalog.GetString("Open army"), null, "gtk-open");
+			this.miOpenArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Open army");
+			w1.Add(this.miOpenArmy, null);
+			this.miSaveArmy = new global::Gtk.Action("miSaveArmy", global::Mono.Unix.Catalog.GetString("Save army"), null, "gtk-save");
+			this.miSaveArmy.Sensitive = false;
+			this.miSaveArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Save army");
+			w1.Add(this.miSaveArmy, null);
+			this.miSaveArmyAs = new global::Gtk.Action("miSaveArmyAs", global::Mono.Unix.Catalog.GetString("Save army as"), null, "gtk-save-as");
+			this.miSaveArmyAs.Sensitive = false;
+			this.miSaveArmyAs.ShortLabel = global::Mono.Unix.Catalog.GetString("Save army as");
+			w1.Add(this.miSaveArmyAs, null);
+			this.miCloseArmy = new global::Gtk.Action("miCloseArmy", global::Mono.Unix.Catalog.GetString("Close army"), null, "gtk-close");
+			this.miCloseArmy.Sensitive = false;
+			this.miCloseArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Close army");
+			w1.Add(this.miCloseArmy, null);
+			this.miReloadFiles = new global::Gtk.Action("miReloadFiles", global::Mono.Unix.Catalog.GetString("Reload files"), null, "gtk-refresh");
+			this.miReloadFiles.Sensitive = false;
+			this.miReloadFiles.ShortLabel = global::Mono.Unix.Catalog.GetString("Reload files");
+			w1.Add(this.miReloadFiles, null);
+			this.miExit = new global::Gtk.Action("miExit", global::Mono.Unix.Catalog.GetString("Exit"), null, "gtk-quit");
+			this.miExit.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit");
+			w1.Add(this.miExit, null);
+			this.menuEdit = new global::Gtk.Action("menuEdit", global::Mono.Unix.Catalog.GetString("Edit"), null, null);
+			this.menuEdit.ShortLabel = global::Mono.Unix.Catalog.GetString("Edit");
+			w1.Add(this.menuEdit, null);
+			this.miUndo = new global::Gtk.Action("miUndo", global::Mono.Unix.Catalog.GetString("Undo"), null, "gtk-undo");
+			this.miUndo.Sensitive = false;
+			this.miUndo.ShortLabel = global::Mono.Unix.Catalog.GetString("Undo");
+			w1.Add(this.miUndo, null);
+			this.miRedo = new global::Gtk.Action("miRedo", global::Mono.Unix.Catalog.GetString("Redo"), null, "gtk-redo");
+			this.miRedo.Sensitive = false;
+			this.miRedo.ShortLabel = global::Mono.Unix.Catalog.GetString("Redo");
+			w1.Add(this.miRedo, null);
+			this.menuHelp = new global::Gtk.Action("menuHelp", global::Mono.Unix.Catalog.GetString("Help"), null, null);
+			this.menuHelp.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
+			w1.Add(this.menuHelp, null);
+			this.miAbout = new global::Gtk.Action("miAbout", global::Mono.Unix.Catalog.GetString("About"), null, "gtk-about");
+			this.miAbout.ShortLabel = global::Mono.Unix.Catalog.GetString("About");
+			w1.Add(this.miAbout, null);
+			this.miDebugInformation = new global::Gtk.Action("miDebugInformation", global::Mono.Unix.Catalog.GetString("Debug Information"), null, null);
+			this.miDebugInformation.ShortLabel = global::Mono.Unix.Catalog.GetString("Debug Information");
+			w1.Add(this.miDebugInformation, null);
+			this.newArmyButton = new global::Gtk.Action("newArmyButton", null, null, "gtk-new");
+			w1.Add(this.newArmyButton, null);
+			this.openArmyButton = new global::Gtk.Action("openArmyButton", null, null, "gtk-open");
+			w1.Add(this.openArmyButton, null);
+			this.saveArmyButton = new global::Gtk.Action("saveArmyButton", null, null, "gtk-save");
+			this.saveArmyButton.Sensitive = false;
+			w1.Add(this.saveArmyButton, null);
+			this.undoActionButton = new global::Gtk.Action("undoActionButton", null, null, "gtk-undo");
+			this.undoActionButton.Sensitive = false;
+			w1.Add(this.undoActionButton, null);
+			this.redoActionButton = new global::Gtk.Action("redoActionButton", null, null, "gtk-redo");
+			this.redoActionButton.Sensitive = false;
+			w1.Add(this.redoActionButton, null);
+			this.goDown = new global::Gtk.Action("goDown", null, null, null);
+			w1.Add(this.goDown, null);
+			this.@add = new global::Gtk.Action("add", null, null, "gtk-add");
+			w1.Add(this.@add, null);
+			this.miExportArmy = new global::Gtk.Action("miExportArmy", global::Mono.Unix.Catalog.GetString("Export army as..."), null, "gtk-convert");
+			this.miExportArmy.Sensitive = false;
+			this.miExportArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Export army");
+			w1.Add(this.miExportArmy, null);
+			this.miExportAsBasicHtml = new global::Gtk.Action("miExportAsBasicHtml", global::Mono.Unix.Catalog.GetString("Basic HTML"), null, null);
+			this.miExportAsBasicHtml.ShortLabel = global::Mono.Unix.Catalog.GetString("Basic HTML");
+			w1.Add(this.miExportAsBasicHtml, null);
+			this.UIManager.InsertActionGroup(w1, 0);
+			this.AddAccelGroup(this.UIManager.AccelGroup);
+			this.Name = "IBBoard.WarFoundry.GTK.FrmMainWindow";
+			this.Title = global::Mono.Unix.Catalog.GetString("MainWindow");
+			this.Icon = global::Gdk.Pixbuf.LoadFromResource("App.ico");
+			// Container child IBBoard.WarFoundry.GTK.FrmMainWindow.Gtk.Container+ContainerChild
+			this.vbox1 = new global::Gtk.VBox();
+			this.vbox1.Name = "vbox1";
+			// Container child vbox1.Gtk.Box+BoxChild
+			this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='menuFile' action='menuFile'><menuitem name='miCreateArmy' action='miCreateArmy'/><menuitem name='miOpenArmy' action='miOpenArmy'/><menuitem name='miSaveArmy' action='miSaveArmy'/><menuitem name='miSaveArmyAs' action='miSaveArmyAs'/><menu name='miExportArmy' action='miExportArmy'><menuitem name='miExportAsBasicHtml' action='miExportAsBasicHtml'/></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'/></menu><menu name='menuHelp' action='menuHelp'><menuitem name='miAbout' action='miAbout'/><menuitem name='miDebugInformation' action='miDebugInformation'/></menu></menubar></ui>");
+			this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
+			this.menubar1.Name = "menubar1";
+			this.vbox1.Add(this.menubar1);
+			global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
+			w2.Position = 0;
+			w2.Expand = false;
+			w2.Fill = false;
+			// Container child vbox1.Gtk.Box+BoxChild
+			this.UIManager.AddUiFromString("<ui><toolbar name='toolbar'><toolitem name='newArmyButton' action='newArmyButton'/><toolitem name='openArmyButton' action='openArmyButton'/><toolitem name='saveArmyButton' action='saveArmyButton'/><separator/><toolitem name='undoActionButton' action='undoActionButton'/><toolitem name='redoActionButton' action='redoActionButton'/><separator/></toolbar></ui>");
+			this.toolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar")));
+			this.toolbar.HeightRequest = 36;
+			this.toolbar.Name = "toolbar";
+			this.toolbar.ShowArrow = false;
+			this.toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
+			this.toolbar.IconSize = ((global::Gtk.IconSize)(3));
+			this.vbox1.Add(this.toolbar);
+			global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.toolbar]));
+			w3.Position = 1;
+			w3.Expand = false;
+			w3.Fill = false;
+			// Container child vbox1.Gtk.Box+BoxChild
+			this.hpaned2 = new global::Gtk.HPaned();
+			this.hpaned2.CanFocus = true;
+			this.hpaned2.Name = "hpaned2";
+			this.hpaned2.Position = 178;
+			// Container child hpaned2.Gtk.Paned+PanedChild
+			this.treeUnits = new global::Gtk.TreeView();
+			this.treeUnits.CanFocus = true;
+			this.treeUnits.Name = "treeUnits";
+			this.hpaned2.Add(this.treeUnits);
+			global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned2[this.treeUnits]));
+			w4.Resize = false;
+			// Container child hpaned2.Gtk.Paned+PanedChild
+			this.unitsNotebook = new global::Gtk.Notebook();
+			this.unitsNotebook.CanFocus = true;
+			this.unitsNotebook.Name = "unitsNotebook";
+			this.unitsNotebook.CurrentPage = -1;
+			this.hpaned2.Add(this.unitsNotebook);
+			this.vbox1.Add(this.hpaned2);
+			global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hpaned2]));
+			w6.Position = 2;
+			// Container child vbox1.Gtk.Box+BoxChild
+			this.statusbar1 = new global::Gtk.Statusbar();
+			this.statusbar1.Name = "statusbar1";
+			this.statusbar1.Spacing = 2;
+			this.vbox1.Add(this.statusbar1);
+			global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1]));
+			w7.Position = 3;
+			w7.Expand = false;
+			w7.Fill = false;
+			this.Add(this.vbox1);
+			if ((this.Child != null))
+			{
+				this.Child.ShowAll();
+			}
+			this.DefaultWidth = 832;
+			this.DefaultHeight = 659;
+			this.Show();
+			this.miCreateArmy.Activated += new global::System.EventHandler(this.OnCreateArmyActivated);
+			this.miOpenArmy.Activated += new global::System.EventHandler(this.OnOpenArmyActivated);
+			this.miSaveArmy.Activated += new global::System.EventHandler(this.OnSaveArmyActivated);
+			this.miSaveArmyAs.Activated += new global::System.EventHandler(this.OnSaveArmyAsActivated);
+			this.miCloseArmy.Activated += new global::System.EventHandler(this.OnCloseArmyActivated);
+			this.miReloadFiles.Activated += new global::System.EventHandler(this.OnReloadFilesActivated);
+			this.miExit.Activated += new global::System.EventHandler(this.OnExitActivated);
+			this.newArmyButton.Activated += new global::System.EventHandler(this.newTBButtonActivated);
+			this.openArmyButton.Activated += new global::System.EventHandler(this.openTBButtonActivated);
+			this.saveArmyButton.Activated += new global::System.EventHandler(this.saveTBButtonActivated);
+			this.undoActionButton.Activated += new global::System.EventHandler(this.undoTBButtonActivated);
+			this.redoActionButton.Activated += new global::System.EventHandler(this.redoTBButtonActivated);
+			this.miExportAsBasicHtml.Activated += new global::System.EventHandler(this.OnMiExportAsBasicHtmlActivated);
+			this.treeUnits.RowActivated += new global::Gtk.RowActivatedHandler(this.ArmyRowActivated);
+			this.treeUnits.PopupMenu += new global::Gtk.PopupMenuHandler(this.OnTreeUnitsPopupMenu);
+			this.treeUnits.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.UnitTreeButtonPressed);
+		}
+	}
 }