Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.WinForms
diff FrmNewUnitFromTree.Designer.cs @ 208:19a88383dfa7
Re #354: Single-button Add Unit
* Pull out re-usable method for adding unit
* Make double-click add unit
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 20 Aug 2011 16:12:15 +0100 |
parents | 53d79e1be712 |
children | a11faa64c333 |
line wrap: on
line diff
--- a/FrmNewUnitFromTree.Designer.cs Tue Aug 16 21:01:45 2011 +0100 +++ b/FrmNewUnitFromTree.Designer.cs Sat Aug 20 16:12:15 2011 +0100 @@ -38,17 +38,20 @@ | System.Windows.Forms.AnchorStyles.Right))); this.unitTypeTree.Location = new System.Drawing.Point(0, 0); this.unitTypeTree.Name = "unitTypeTree"; - this.unitTypeTree.Size = new System.Drawing.Size(292, 267); + this.unitTypeTree.Size = new System.Drawing.Size(199, 287); this.unitTypeTree.TabIndex = 0; + this.unitTypeTree.DoubleClick += new System.EventHandler(this.unitTypeTree_DoubleClick); // // FrmNewUnitFromTree // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(292, 266); + this.ClientSize = new System.Drawing.Size(199, 286); + this.ControlBox = false; this.Controls.Add(this.unitTypeTree); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.Name = "FrmNewUnitFromTree"; - this.Text = "FrmNewUnitFromTree"; + this.Text = "Available Unit Types"; this.ResumeLayout(false); }