Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.WinForms
comparison FrmMain.cs @ 59:039b02006a8a
* Set toolbar style back to "flat" to fix ugly undo/redo buttons
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 19 Sep 2009 13:56:55 +0000 |
parents | d6ff354a5d84 |
children | a0ec03c24cd9 |
comparison
equal
deleted
inserted
replaced
58:05df6494f0b7 | 59:039b02006a8a |
---|---|
244 ((System.ComponentModel.ISupportInitialize) (this.sbPointsPanel)).BeginInit(); | 244 ((System.ComponentModel.ISupportInitialize) (this.sbPointsPanel)).BeginInit(); |
245 this.SuspendLayout(); | 245 this.SuspendLayout(); |
246 // | 246 // |
247 // statusBar | 247 // statusBar |
248 // | 248 // |
249 this.statusBar.Location = new System.Drawing.Point(0, 548); | 249 this.statusBar.Location = new System.Drawing.Point(0, 546); |
250 this.statusBar.Name = "statusBar"; | 250 this.statusBar.Name = "statusBar"; |
251 this.statusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { | 251 this.statusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { |
252 this.sbMainPanel, | 252 this.sbMainPanel, |
253 this.sbErrorPanel, | 253 this.sbErrorPanel, |
254 this.sbPointsPanel}); | 254 this.sbPointsPanel}); |
255 this.statusBar.ShowPanels = true; | 255 this.statusBar.ShowPanels = true; |
256 this.statusBar.Size = new System.Drawing.Size(792, 22); | 256 this.statusBar.Size = new System.Drawing.Size(790, 22); |
257 this.statusBar.TabIndex = 1; | 257 this.statusBar.TabIndex = 1; |
258 this.statusBar.PanelClick += new System.Windows.Forms.StatusBarPanelClickEventHandler(this.statusBar_PanelClick); | 258 this.statusBar.PanelClick += new System.Windows.Forms.StatusBarPanelClickEventHandler(this.statusBar_PanelClick); |
259 this.statusBar.DrawItem += new System.Windows.Forms.StatusBarDrawItemEventHandler(this.statusBar_DrawItem); | 259 this.statusBar.DrawItem += new System.Windows.Forms.StatusBarDrawItemEventHandler(this.statusBar_DrawItem); |
260 // | 260 // |
261 // sbMainPanel | 261 // sbMainPanel |
281 this.sbPointsPanel.ToolTipText = "Current Points Total"; | 281 this.sbPointsPanel.ToolTipText = "Current Points Total"; |
282 this.sbPointsPanel.Width = 150; | 282 this.sbPointsPanel.Width = 150; |
283 // | 283 // |
284 // toolBar | 284 // toolBar |
285 // | 285 // |
286 this.toolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; | |
286 this.toolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { | 287 this.toolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { |
287 this.bttnNewArmy, | 288 this.bttnNewArmy, |
288 this.bttnOpenArmy, | 289 this.bttnOpenArmy, |
289 this.bttnSaveArmy, | 290 this.bttnSaveArmy, |
290 this.bttnSep1, | 291 this.bttnSep1, |
294 this.toolBar.DropDownArrows = true; | 295 this.toolBar.DropDownArrows = true; |
295 this.toolBar.ImageList = this.buttonIcons; | 296 this.toolBar.ImageList = this.buttonIcons; |
296 this.toolBar.Location = new System.Drawing.Point(0, 0); | 297 this.toolBar.Location = new System.Drawing.Point(0, 0); |
297 this.toolBar.Name = "toolBar"; | 298 this.toolBar.Name = "toolBar"; |
298 this.toolBar.ShowToolTips = true; | 299 this.toolBar.ShowToolTips = true; |
299 this.toolBar.Size = new System.Drawing.Size(792, 28); | 300 this.toolBar.Size = new System.Drawing.Size(790, 28); |
300 this.toolBar.TabIndex = 2; | 301 this.toolBar.TabIndex = 2; |
301 this.toolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar_ButtonClick); | 302 this.toolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar_ButtonClick); |
302 // | 303 // |
303 // bttnNewArmy | 304 // bttnNewArmy |
304 // | 305 // |
483 // pnlRight | 484 // pnlRight |
484 // | 485 // |
485 this.pnlRight.Anchor = ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | 486 this.pnlRight.Anchor = ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
486 | System.Windows.Forms.AnchorStyles.Right))); | 487 | System.Windows.Forms.AnchorStyles.Right))); |
487 this.pnlRight.BackColor = System.Drawing.SystemColors.AppWorkspace; | 488 this.pnlRight.BackColor = System.Drawing.SystemColors.AppWorkspace; |
488 this.pnlRight.Location = new System.Drawing.Point(726, 30); | 489 this.pnlRight.Location = new System.Drawing.Point(724, 30); |
489 this.pnlRight.Name = "pnlRight"; | 490 this.pnlRight.Name = "pnlRight"; |
490 this.pnlRight.Size = new System.Drawing.Size(64, 516); | 491 this.pnlRight.Size = new System.Drawing.Size(64, 514); |
491 this.pnlRight.TabIndex = 4; | 492 this.pnlRight.TabIndex = 4; |
492 this.pnlRight.Visible = false; | 493 this.pnlRight.Visible = false; |
493 this.pnlRight.Paint += new System.Windows.Forms.PaintEventHandler(this.pnlRight_Paint); | 494 this.pnlRight.Paint += new System.Windows.Forms.PaintEventHandler(this.pnlRight_Paint); |
494 // | 495 // |
495 // statusBarTimer | 496 // statusBarTimer |
498 this.statusBarTimer.Tick += new System.EventHandler(this.statusBarTimer_Tick); | 499 this.statusBarTimer.Tick += new System.EventHandler(this.statusBarTimer_Tick); |
499 // | 500 // |
500 // FrmMain | 501 // FrmMain |
501 // | 502 // |
502 this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); | 503 this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); |
503 this.ClientSize = new System.Drawing.Size(792, 570); | 504 this.ClientSize = new System.Drawing.Size(790, 568); |
504 this.Controls.Add(this.pnlRight); | 505 this.Controls.Add(this.pnlRight); |
505 this.Controls.Add(this.toolBar); | 506 this.Controls.Add(this.toolBar); |
506 this.Controls.Add(this.statusBar); | 507 this.Controls.Add(this.statusBar); |
507 this.Icon = ((System.Drawing.Icon) (resources.GetObject("$this.Icon"))); | 508 this.Icon = ((System.Drawing.Icon) (resources.GetObject("$this.Icon"))); |
508 this.IsMdiContainer = true; | 509 this.IsMdiContainer = true; |