Changeset 130

Show
Ignore:
Timestamp:
05/25/09 06:32:24 (16 months ago)
Author:
ibboard
Message:

Re #88 - Complete initial WinForms UI

  • Disable "New Army" button on start up in case we don't have a game system
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • IBBoard.WarFoundry.GUI.WinForms/trunk/FrmMain.cs

    r128 r130  
    374374            // bttnSep1 
    375375            //  
     376            this.bttnSep1.Name = ""; 
    376377            this.bttnSep1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; 
    377378            //  
     
    427428            this.miExit}); 
    428429            this.menuFile.Text = "&file"; 
    429             this.menuFile.Name = "menuFile"; 
    430430            //  
    431431            // miNewArmy 
    432432            //  
     433            this.miNewArmy.Enabled = false; 
    433434            this.miNewArmy.Index = 0; 
    434435            this.miNewArmy.Text = "&new army"; 
    435436            this.miNewArmy.Click += new System.EventHandler(this.miNewArmy_Click); 
    436             this.miNewArmy.Name = "miNewArmy"; 
    437437            //  
    438438            // miOpenArmy 
     
    441441            this.miOpenArmy.Text = "&open army"; 
    442442            this.miOpenArmy.Click += new System.EventHandler(this.miOpenArmy_Click); 
    443             this.miOpenArmy.Name = "miOpenArmy"; 
    444443            //  
    445444            // miSaveArmy 
     
    449448            this.miSaveArmy.Text = "&save army"; 
    450449            this.miSaveArmy.Click += new System.EventHandler(this.miSaveArmy_Click); 
    451             this.miSaveArmy.Name = "miSaveArmy"; 
    452450            //  
    453451            // miSaveArmyAs 
     
    457455            this.miSaveArmyAs.Text = "save army &as..."; 
    458456            this.miSaveArmyAs.Click += new System.EventHandler(this.miSaveArmyAs_Click); 
    459             this.miSaveArmyAs.Name = "miSaveArmyAs"; 
    460457            //  
    461458            // miCloseArmy 
     
    465462            this.miCloseArmy.Text = "&close army"; 
    466463            this.miCloseArmy.Click += new System.EventHandler(this.miCloseArmy_Click); 
    467             this.miCloseArmy.Name = "miCloseArmy"; 
    468464            //  
    469465            // miSep1 
     
    477473            this.miChangeSystem.Text = "change &game system"; 
    478474            this.miChangeSystem.Click += new System.EventHandler(this.miChangeSystem_Click); 
    479             this.miChangeSystem.Name = "miChangeSystem"; 
    480475            //  
    481476            // miSep2 
     
    489484            this.miReloadFiles.Text = "&reload files"; 
    490485            this.miReloadFiles.Click += new System.EventHandler(this.miReloadFiles_Click); 
    491             this.miReloadFiles.Name = "miReloadFiles"; 
    492486            //  
    493487            // miSep3 
     
    501495            this.miExit.Text = "e&xit"; 
    502496            this.miExit.Click += new System.EventHandler(this.miExit_Click); 
    503             this.miExit.Name = "miExit"; 
    504497            //  
    505498            // menuEdit 
     
    510503            this.miRedo}); 
    511504            this.menuEdit.Text = "&edit"; 
    512             this.menuEdit.Name = "menuEdit"; 
    513505            //  
    514506            // miUndo 
     
    518510            this.miUndo.Text = "&undo"; 
    519511            this.miUndo.Click += new System.EventHandler(this.miUndo_Click); 
    520             this.miUndo.Name = "miUndo"; 
    521512            //  
    522513            // miRedo 
     
    526517            this.miRedo.Text = "&redo"; 
    527518            this.miRedo.Click += new System.EventHandler(this.miRedo_Click); 
    528             this.miRedo.Name = "miRedo"; 
    529519            //  
    530520            // menuHelp 
     
    535525            this.miDebugWindow}); 
    536526            this.menuHelp.Text = "&help"; 
    537             this.menuHelp.Name = "menuHelp"; 
    538527            //  
    539528            // miAbout 
     
    542531            this.miAbout.Index = 0; 
    543532            this.miAbout.Text = "&about"; 
    544             this.miAbout.Name = "miAbout"; 
    545533            //  
    546534            // miDebugWindow 
     
    549537            this.miDebugWindow.Text = "&debug"; 
    550538            this.miDebugWindow.Click += new System.EventHandler(this.miDebugWindow_Click); 
    551             this.miDebugWindow.Name = "miDebugWindow"; 
    552539            //  
    553540            // saveArmyDialog