view gtk-gui/IBBoard.WarFoundry.FrmMainWindow.cs @ 1:a3c70b542257

* Change MonoDevelop Project file to format for MonoDevelop 2.0a1 * Remove PIDB (Parser Information Database) from source control
author IBBoard <dev@ibboard.co.uk>
date Fri, 19 Dec 2008 16:47:13 +0000
parents 1bb28f84d567
children
line wrap: on
line source

// ------------------------------------------------------------------------------
//  <autogenerated>
//      This code was generated by a tool.
//      Mono Runtime Version: 2.0.50727.42
// 
//      Changes to this file may cause incorrect behavior and will be lost if 
//      the code is regenerated.
//  </autogenerated>
// ------------------------------------------------------------------------------

namespace IBBoard.WarFoundry {
    
    
    public partial class FrmMainWindow {
        
        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 miChangeGameSystem;
        
        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.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.FrmMainWindow
            Gtk.UIManager w1 = new Gtk.UIManager();
            Gtk.ActionGroup w2 = 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");
            w2.Add(this.menuFile, null);
            this.miCreateArmy = new Gtk.Action("miCreateArmy", Mono.Unix.Catalog.GetString("Create army"), null, null);
            this.miCreateArmy.Sensitive = false;
            this.miCreateArmy.ShortLabel = Mono.Unix.Catalog.GetString("Create army");
            w2.Add(this.miCreateArmy, null);
            this.miOpenArmy = new Gtk.Action("miOpenArmy", Mono.Unix.Catalog.GetString("Open army"), null, null);
            this.miOpenArmy.Sensitive = false;
            this.miOpenArmy.ShortLabel = Mono.Unix.Catalog.GetString("Open army");
            w2.Add(this.miOpenArmy, null);
            this.miSaveArmy = new Gtk.Action("miSaveArmy", Mono.Unix.Catalog.GetString("Save army"), null, null);
            this.miSaveArmy.Sensitive = false;
            this.miSaveArmy.ShortLabel = Mono.Unix.Catalog.GetString("Save army");
            w2.Add(this.miSaveArmy, null);
            this.miSaveArmyAs = new Gtk.Action("miSaveArmyAs", Mono.Unix.Catalog.GetString("Save army as"), null, null);
            this.miSaveArmyAs.Sensitive = false;
            this.miSaveArmyAs.ShortLabel = Mono.Unix.Catalog.GetString("Save army as");
            w2.Add(this.miSaveArmyAs, null);
            this.miCloseArmy = new Gtk.Action("miCloseArmy", Mono.Unix.Catalog.GetString("Close army"), null, null);
            this.miCloseArmy.Sensitive = false;
            this.miCloseArmy.ShortLabel = Mono.Unix.Catalog.GetString("Close army");
            w2.Add(this.miCloseArmy, null);
            this.miChangeGameSystem = new Gtk.Action("miChangeGameSystem", Mono.Unix.Catalog.GetString("Change game system"), null, null);
            this.miChangeGameSystem.ShortLabel = Mono.Unix.Catalog.GetString("Change game system");
            w2.Add(this.miChangeGameSystem, null);
            this.miReloadFiles = new Gtk.Action("miReloadFiles", Mono.Unix.Catalog.GetString("Reload files"), null, null);
            this.miReloadFiles.Sensitive = false;
            this.miReloadFiles.ShortLabel = Mono.Unix.Catalog.GetString("Reload files");
            w2.Add(this.miReloadFiles, null);
            this.miExit = new Gtk.Action("miExit", Mono.Unix.Catalog.GetString("Exit"), null, null);
            this.miExit.ShortLabel = Mono.Unix.Catalog.GetString("Exit");
            w2.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");
            w2.Add(this.menuEdit, null);
            this.miUndo = new Gtk.Action("miUndo", Mono.Unix.Catalog.GetString("Undo"), null, null);
            this.miUndo.Sensitive = false;
            this.miUndo.ShortLabel = Mono.Unix.Catalog.GetString("Undo");
            w2.Add(this.miUndo, null);
            this.miRedo = new Gtk.Action("miRedo", Mono.Unix.Catalog.GetString("Redo"), null, null);
            this.miRedo.Sensitive = false;
            this.miRedo.ShortLabel = Mono.Unix.Catalog.GetString("Redo");
            w2.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");
            w2.Add(this.menuHelp, null);
            this.miAbout = new Gtk.Action("miAbout", Mono.Unix.Catalog.GetString("About"), null, null);
            this.miAbout.ShortLabel = Mono.Unix.Catalog.GetString("About");
            w2.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");
            w2.Add(this.miDebugInformation, null);
            this.newArmyButton = new Gtk.Action("newArmyButton", null, null, "gtk-new");
            this.newArmyButton.Sensitive = false;
            w2.Add(this.newArmyButton, null);
            this.openArmyButton = new Gtk.Action("openArmyButton", null, null, "gtk-open");
            this.openArmyButton.Sensitive = false;
            w2.Add(this.openArmyButton, null);
            this.saveArmyButton = new Gtk.Action("saveArmyButton", null, null, "gtk-save");
            this.saveArmyButton.Sensitive = false;
            w2.Add(this.saveArmyButton, null);
            this.undoActionButton = new Gtk.Action("undoActionButton", null, null, "gtk-undo");
            this.undoActionButton.Sensitive = false;
            w2.Add(this.undoActionButton, null);
            this.redoActionButton = new Gtk.Action("redoActionButton", null, null, "gtk-redo");
            this.redoActionButton.Sensitive = false;
            w2.Add(this.redoActionButton, null);
            this.goDown = new Gtk.Action("goDown", null, null, null);
            w2.Add(this.goDown, null);
            this.add = new Gtk.Action("add", null, null, "gtk-add");
            w2.Add(this.add, null);
            w1.InsertActionGroup(w2, 0);
            this.AddAccelGroup(w1.AccelGroup);
            this.Name = "IBBoard.WarFoundry.FrmMainWindow";
            this.Title = Mono.Unix.Catalog.GetString("MainWindow");
            this.Icon = Gdk.Pixbuf.LoadFromResource("App.ico");
            // Container child IBBoard.WarFoundry.FrmMainWindow.Gtk.Container+ContainerChild
            this.vbox1 = new Gtk.VBox();
            this.vbox1.Name = "vbox1";
            // Container child vbox1.Gtk.Box+BoxChild
            w1.AddUiFromString("<ui><menubar name='menubar1'><menu action='menuFile'><menuitem action='miCreateArmy'/><menuitem action='miOpenArmy'/><menuitem action='miSaveArmy'/><menuitem action='miSaveArmyAs'/><menuitem action='miCloseArmy'/><separator/><menuitem action='miChangeGameSystem'/><separator/><menuitem action='miReloadFiles'/><separator/><menuitem action='miExit'/></menu><menu action='menuEdit'><menuitem action='miUndo'/><menuitem action='miRedo'/></menu><menu action='menuHelp'><menuitem action='miAbout'/><menuitem action='miDebugInformation'/></menu></menubar></ui>");
            this.menubar1 = ((Gtk.MenuBar)(w1.GetWidget("/menubar1")));
            this.menubar1.Name = "menubar1";
            this.vbox1.Add(this.menubar1);
            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
            w3.Position = 0;
            w3.Expand = false;
            w3.Fill = false;
            // Container child vbox1.Gtk.Box+BoxChild
            w1.AddUiFromString("<ui><toolbar name='toolbar'><toolitem action='newArmyButton'/><toolitem action='openArmyButton'/><toolitem action='saveArmyButton'/><separator/><toolitem action='undoActionButton'/><toolitem action='redoActionButton'/><separator/></toolbar></ui>");
            this.toolbar = ((Gtk.Toolbar)(w1.GetWidget("/toolbar")));
            this.toolbar.HeightRequest = 36;
            this.toolbar.Name = "toolbar";
            this.toolbar.ShowArrow = false;
            this.toolbar.ToolbarStyle = ((Gtk.ToolbarStyle)(0));
            this.vbox1.Add(this.toolbar);
            Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox1[this.toolbar]));
            w4.Position = 1;
            w4.Expand = false;
            w4.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.treeUnits.HeadersClickable = true;
            this.hpaned2.Add(this.treeUnits);
            Gtk.Paned.PanedChild w5 = ((Gtk.Paned.PanedChild)(this.hpaned2[this.treeUnits]));
            w5.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 w7 = ((Gtk.Box.BoxChild)(this.vbox1[this.hpaned2]));
            w7.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 w8 = ((Gtk.Box.BoxChild)(this.vbox1[this.statusbar1]));
            w8.Position = 3;
            w8.Expand = false;
            w8.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.miChangeGameSystem.Activated += new System.EventHandler(this.OnChangeGameSystemActivated);
            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.treeUnits.RowActivated += new Gtk.RowActivatedHandler(this.ArmyRowActivated);
        }
    }
}