Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
comparison FrmMain.cs @ 134:e381ec627d14
Re #88: Complete initial WinForms UI
* Do toolstrip positioning properly - use the right-hand side to work from instead of the width
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 02 Apr 2010 19:39:27 +0000 |
parents | acb4456598ce |
children | c095c57a56f9 |
comparison
equal
deleted
inserted
replaced
133:acb4456598ce | 134:e381ec627d14 |
---|---|
117 this.Closing+=new CancelEventHandler(FrmMain_Closing); | 117 this.Closing+=new CancelEventHandler(FrmMain_Closing); |
118 CommandStack.CommandStackUpdated += new MethodInvoker(commandStack_CommandStackUpdated); | 118 CommandStack.CommandStackUpdated += new MethodInvoker(commandStack_CommandStackUpdated); |
119 | 119 |
120 InitializeComponent(); | 120 InitializeComponent(); |
121 toolStripPanel.Join(mainToolStrip, 0, 0); | 121 toolStripPanel.Join(mainToolStrip, 0, 0); |
122 toolStripPanel.Join(catToolStrip, mainToolStrip.Width+5, 0); | 122 toolStripPanel.Join(catToolStrip, mainToolStrip.Right, 0); |
123 | 123 |
124 Preferences = new Preferences("WarFoundry"); | 124 Preferences = new Preferences("WarFoundry"); |
125 try | 125 try |
126 { | 126 { |
127 Translation.InitialiseTranslations(Constants.ExecutablePath, Preferences["language"].ToString()); | 127 Translation.InitialiseTranslations(Constants.ExecutablePath, Preferences["language"].ToString()); |