Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.WinForms
comparison 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 |
comparison
equal
deleted
inserted
replaced
207:53d79e1be712 | 208:19a88383dfa7 |
---|---|
36 this.unitTypeTree.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | 36 this.unitTypeTree.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
37 | System.Windows.Forms.AnchorStyles.Left) | 37 | System.Windows.Forms.AnchorStyles.Left) |
38 | System.Windows.Forms.AnchorStyles.Right))); | 38 | System.Windows.Forms.AnchorStyles.Right))); |
39 this.unitTypeTree.Location = new System.Drawing.Point(0, 0); | 39 this.unitTypeTree.Location = new System.Drawing.Point(0, 0); |
40 this.unitTypeTree.Name = "unitTypeTree"; | 40 this.unitTypeTree.Name = "unitTypeTree"; |
41 this.unitTypeTree.Size = new System.Drawing.Size(292, 267); | 41 this.unitTypeTree.Size = new System.Drawing.Size(199, 287); |
42 this.unitTypeTree.TabIndex = 0; | 42 this.unitTypeTree.TabIndex = 0; |
43 this.unitTypeTree.DoubleClick += new System.EventHandler(this.unitTypeTree_DoubleClick); | |
43 // | 44 // |
44 // FrmNewUnitFromTree | 45 // FrmNewUnitFromTree |
45 // | 46 // |
46 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); | 47 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
47 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | 48 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
48 this.ClientSize = new System.Drawing.Size(292, 266); | 49 this.ClientSize = new System.Drawing.Size(199, 286); |
50 this.ControlBox = false; | |
49 this.Controls.Add(this.unitTypeTree); | 51 this.Controls.Add(this.unitTypeTree); |
52 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; | |
50 this.Name = "FrmNewUnitFromTree"; | 53 this.Name = "FrmNewUnitFromTree"; |
51 this.Text = "FrmNewUnitFromTree"; | 54 this.Text = "Available Unit Types"; |
52 this.ResumeLayout(false); | 55 this.ResumeLayout(false); |
53 | 56 |
54 } | 57 } |
55 | 58 |
56 #endregion | 59 #endregion |