Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
comparison FrmArmyTree.Designer.cs @ 239:2c3474d652e1
Re #360: Add WinForms UI for adding contained units
* Update UI (unit tree and unit creation dialog) so that we can add contained units
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 14 Apr 2012 20:48:13 +0100 |
parents | f7b0cdb54c9c |
children |
comparison
equal
deleted
inserted
replaced
238:55c94d438a4b | 239:2c3474d652e1 |
---|---|
33 this.treeView = new System.Windows.Forms.TreeView(); | 33 this.treeView = new System.Windows.Forms.TreeView(); |
34 this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); | 34 this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); |
35 this.miEditArmy = new IBBoard.Windows.Forms.IBBToolStripMenuItem(); | 35 this.miEditArmy = new IBBoard.Windows.Forms.IBBToolStripMenuItem(); |
36 this.miEditUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem(); | 36 this.miEditUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem(); |
37 this.miDeleteUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem(); | 37 this.miDeleteUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem(); |
38 this.miAddUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem(); | |
38 this.toolStrip1 = new System.Windows.Forms.ToolStrip(); | 39 this.toolStrip1 = new System.Windows.Forms.ToolStrip(); |
39 this.miAddUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem(); | |
40 this.bttnAdd = new IBBoard.Windows.Forms.IBBToolStripButton(); | 40 this.bttnAdd = new IBBoard.Windows.Forms.IBBToolStripButton(); |
41 this.bttnEdit = new IBBoard.Windows.Forms.IBBToolStripButton(); | 41 this.bttnEdit = new IBBoard.Windows.Forms.IBBToolStripButton(); |
42 this.bttnDelete = new IBBoard.Windows.Forms.IBBToolStripButton(); | 42 this.bttnDelete = new IBBoard.Windows.Forms.IBBToolStripButton(); |
43 this.toolStripContainer1.ContentPanel.SuspendLayout(); | 43 this.toolStripContainer1.ContentPanel.SuspendLayout(); |
44 this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); | 44 this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); |
81 this.treeView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseDown); | 81 this.treeView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseDown); |
82 // | 82 // |
83 // contextMenuStrip | 83 // contextMenuStrip |
84 // | 84 // |
85 this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | 85 this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
86 this.miAddUnit, | |
86 this.miEditArmy, | 87 this.miEditArmy, |
87 this.miEditUnit, | 88 this.miEditUnit, |
88 this.miDeleteUnit, | 89 this.miDeleteUnit}); |
89 this.miAddUnit}); | |
90 this.contextMenuStrip.Name = "contextMenuStrip1"; | 90 this.contextMenuStrip.Name = "contextMenuStrip1"; |
91 this.contextMenuStrip.Size = new System.Drawing.Size(137, 92); | 91 this.contextMenuStrip.Size = new System.Drawing.Size(153, 114); |
92 this.contextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip_Opening); | 92 this.contextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip_Opening); |
93 // | 93 // |
94 // miEditArmy | 94 // miEditArmy |
95 // | 95 // |
96 this.miEditArmy.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.gtk_edit; | 96 this.miEditArmy.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.gtk_edit; |
97 this.miEditArmy.Name = "miEditArmy"; | 97 this.miEditArmy.Name = "miEditArmy"; |
98 this.miEditArmy.Size = new System.Drawing.Size(136, 22); | 98 this.miEditArmy.Size = new System.Drawing.Size(152, 22); |
99 this.miEditArmy.Text = "edit army"; | 99 this.miEditArmy.Text = "edit army"; |
100 this.miEditArmy.Click += new System.EventHandler(this.miEditArmy_Click); | 100 this.miEditArmy.Click += new System.EventHandler(this.miEditArmy_Click); |
101 // | 101 // |
102 // miEditUnit | 102 // miEditUnit |
103 // | 103 // |
104 this.miEditUnit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.gtk_edit; | 104 this.miEditUnit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.gtk_edit; |
105 this.miEditUnit.Name = "miEditUnit"; | 105 this.miEditUnit.Name = "miEditUnit"; |
106 this.miEditUnit.Size = new System.Drawing.Size(136, 22); | 106 this.miEditUnit.Size = new System.Drawing.Size(152, 22); |
107 this.miEditUnit.Text = "edit unit"; | 107 this.miEditUnit.Text = "edit unit"; |
108 this.miEditUnit.Click += new System.EventHandler(this.miEdit_Click); | 108 this.miEditUnit.Click += new System.EventHandler(this.miEdit_Click); |
109 // | 109 // |
110 // miDeleteUnit | 110 // miDeleteUnit |
111 // | 111 // |
112 this.miDeleteUnit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.edit_delete; | 112 this.miDeleteUnit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.edit_delete; |
113 this.miDeleteUnit.Name = "miDeleteUnit"; | 113 this.miDeleteUnit.Name = "miDeleteUnit"; |
114 this.miDeleteUnit.Size = new System.Drawing.Size(136, 22); | 114 this.miDeleteUnit.Size = new System.Drawing.Size(152, 22); |
115 this.miDeleteUnit.Text = "delete unit"; | 115 this.miDeleteUnit.Text = "delete unit"; |
116 this.miDeleteUnit.Click += new System.EventHandler(this.miDelete_Click); | 116 this.miDeleteUnit.Click += new System.EventHandler(this.miDelete_Click); |
117 // | |
118 // miAddUnit | |
119 // | |
120 this.miAddUnit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.list_add; | |
121 this.miAddUnit.Name = "miAddUnit"; | |
122 this.miAddUnit.Size = new System.Drawing.Size(152, 22); | |
123 this.miAddUnit.Text = "add unit"; | |
124 this.miAddUnit.Click += new System.EventHandler(this.miAddUnit_Click); | |
117 // | 125 // |
118 // toolStrip1 | 126 // toolStrip1 |
119 // | 127 // |
120 this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; | 128 this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; |
121 this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | 129 this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
122 this.bttnAdd, | 130 this.bttnAdd, |
123 this.bttnEdit, | 131 this.bttnEdit, |
124 this.bttnDelete}); | 132 this.bttnDelete}); |
125 this.toolStrip1.Location = new System.Drawing.Point(3, 0); | 133 this.toolStrip1.Location = new System.Drawing.Point(3, 0); |
126 this.toolStrip1.Name = "toolStrip1"; | 134 this.toolStrip1.Name = "toolStrip1"; |
127 this.toolStrip1.Size = new System.Drawing.Size(112, 25); | 135 this.toolStrip1.Size = new System.Drawing.Size(81, 25); |
128 this.toolStrip1.TabIndex = 0; | 136 this.toolStrip1.TabIndex = 0; |
129 // | |
130 // miAddUnit | |
131 // | |
132 this.miAddUnit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.list_add; | |
133 this.miAddUnit.Name = "miAddUnit"; | |
134 this.miAddUnit.Size = new System.Drawing.Size(136, 22); | |
135 this.miAddUnit.Text = "add unit"; | |
136 this.miAddUnit.Click += new System.EventHandler(this.miAddUnit_Click); | |
137 // | 137 // |
138 // bttnAdd | 138 // bttnAdd |
139 // | 139 // |
140 this.bttnAdd.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | 140 this.bttnAdd.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
141 this.bttnAdd.Enabled = false; | 141 this.bttnAdd.Enabled = false; |