comparison FrmNewArmy.cs @ 84:1e85a0687e4d

Re #88: Complete initial WinForms UI * Remove icon from unit form * Widen text boxes on new army form
author IBBoard <dev@ibboard.co.uk>
date Sat, 31 Oct 2009 19:32:48 +0000
parents c243b043aa62
children 88b5a0da73f2
comparison
equal deleted inserted replaced
83:6d5cb8c7b6ed 84:1e85a0687e4d
102 this.SuspendLayout(); 102 this.SuspendLayout();
103 // 103 //
104 // lstRaces 104 // lstRaces
105 // 105 //
106 this.lstRaces.DisplayMember = "Name"; 106 this.lstRaces.DisplayMember = "Name";
107 this.lstRaces.Location = new System.Drawing.Point(89, 33); 107 this.lstRaces.Location = new System.Drawing.Point(110, 33);
108 this.lstRaces.Name = "lstRaces"; 108 this.lstRaces.Name = "lstRaces";
109 this.lstRaces.Size = new System.Drawing.Size(269, 121); 109 this.lstRaces.Size = new System.Drawing.Size(248, 121);
110 this.lstRaces.TabIndex = 7; 110 this.lstRaces.TabIndex = 7;
111 this.lstRaces.SelectedIndexChanged += new System.EventHandler(this.lstRaces_SelectedIndexChanged); 111 this.lstRaces.SelectedIndexChanged += new System.EventHandler(this.lstRaces_SelectedIndexChanged);
112 // 112 //
113 // bttnCancel 113 // bttnCancel
114 // 114 //
123 // 123 //
124 // lblRaceList 124 // lblRaceList
125 // 125 //
126 this.lblRaceList.Location = new System.Drawing.Point(12, 33); 126 this.lblRaceList.Location = new System.Drawing.Point(12, 33);
127 this.lblRaceList.Name = "lblRaceList"; 127 this.lblRaceList.Name = "lblRaceList";
128 this.lblRaceList.Size = new System.Drawing.Size(71, 80); 128 this.lblRaceList.Size = new System.Drawing.Size(92, 80);
129 this.lblRaceList.TabIndex = 5; 129 this.lblRaceList.TabIndex = 5;
130 this.lblRaceList.Text = "race list"; 130 this.lblRaceList.Text = "race list";
131 this.lblRaceList.TextAlign = System.Drawing.ContentAlignment.TopRight; 131 this.lblRaceList.TextAlign = System.Drawing.ContentAlignment.TopRight;
132 // 132 //
133 // bttnSelectRace 133 // bttnSelectRace
143 // 143 //
144 // lblArmyName 144 // lblArmyName
145 // 145 //
146 this.lblArmyName.Location = new System.Drawing.Point(12, 163); 146 this.lblArmyName.Location = new System.Drawing.Point(12, 163);
147 this.lblArmyName.Name = "lblArmyName"; 147 this.lblArmyName.Name = "lblArmyName";
148 this.lblArmyName.Size = new System.Drawing.Size(71, 17); 148 this.lblArmyName.Size = new System.Drawing.Size(92, 17);
149 this.lblArmyName.TabIndex = 8; 149 this.lblArmyName.TabIndex = 8;
150 this.lblArmyName.Text = "army name"; 150 this.lblArmyName.Text = "army name";
151 this.lblArmyName.TextAlign = System.Drawing.ContentAlignment.TopRight; 151 this.lblArmyName.TextAlign = System.Drawing.ContentAlignment.TopRight;
152 // 152 //
153 // txtArmyName 153 // txtArmyName
154 // 154 //
155 this.txtArmyName.Location = new System.Drawing.Point(89, 160); 155 this.txtArmyName.Location = new System.Drawing.Point(110, 160);
156 this.txtArmyName.Name = "txtArmyName"; 156 this.txtArmyName.Name = "txtArmyName";
157 this.txtArmyName.Size = new System.Drawing.Size(269, 20); 157 this.txtArmyName.Size = new System.Drawing.Size(248, 20);
158 this.txtArmyName.TabIndex = 9; 158 this.txtArmyName.TabIndex = 9;
159 this.txtArmyName.TextChanged += new System.EventHandler(this.txtArmyName_TextChanged); 159 this.txtArmyName.TextChanged += new System.EventHandler(this.txtArmyName_TextChanged);
160 // 160 //
161 // lblArmySize 161 // lblArmySize
162 // 162 //
163 this.lblArmySize.Location = new System.Drawing.Point(12, 188); 163 this.lblArmySize.Location = new System.Drawing.Point(12, 188);
164 this.lblArmySize.Name = "lblArmySize"; 164 this.lblArmySize.Name = "lblArmySize";
165 this.lblArmySize.Size = new System.Drawing.Size(71, 18); 165 this.lblArmySize.Size = new System.Drawing.Size(92, 18);
166 this.lblArmySize.TabIndex = 10; 166 this.lblArmySize.TabIndex = 10;
167 this.lblArmySize.Text = "army size"; 167 this.lblArmySize.Text = "army size";
168 this.lblArmySize.TextAlign = System.Drawing.ContentAlignment.TopRight; 168 this.lblArmySize.TextAlign = System.Drawing.ContentAlignment.TopRight;
169 // 169 //
170 // armySize 170 // armySize
172 this.armySize.Increment = new decimal(new int[] { 172 this.armySize.Increment = new decimal(new int[] {
173 50, 173 50,
174 0, 174 0,
175 0, 175 0,
176 0}); 176 0});
177 this.armySize.Location = new System.Drawing.Point(89, 186); 177 this.armySize.Location = new System.Drawing.Point(110, 186);
178 this.armySize.Maximum = new decimal(new int[] { 178 this.armySize.Maximum = new decimal(new int[] {
179 1000000, 179 1000000,
180 0, 180 0,
181 0, 181 0,
182 0}); 182 0});
183 this.armySize.Name = "armySize"; 183 this.armySize.Name = "armySize";
184 this.armySize.Size = new System.Drawing.Size(120, 20); 184 this.armySize.Size = new System.Drawing.Size(99, 20);
185 this.armySize.TabIndex = 11; 185 this.armySize.TabIndex = 11;
186 this.armySize.ThousandsSeparator = true; 186 this.armySize.ThousandsSeparator = true;
187 this.armySize.Value = new decimal(new int[] { 187 this.armySize.Value = new decimal(new int[] {
188 2000, 188 2000,
189 0, 189 0,
192 // 192 //
193 // lblGameSystem 193 // lblGameSystem
194 // 194 //
195 this.lblGameSystem.Location = new System.Drawing.Point(12, 9); 195 this.lblGameSystem.Location = new System.Drawing.Point(12, 9);
196 this.lblGameSystem.Name = "lblGameSystem"; 196 this.lblGameSystem.Name = "lblGameSystem";
197 this.lblGameSystem.Size = new System.Drawing.Size(71, 18); 197 this.lblGameSystem.Size = new System.Drawing.Size(92, 18);
198 this.lblGameSystem.TabIndex = 12; 198 this.lblGameSystem.TabIndex = 12;
199 this.lblGameSystem.Text = "game system"; 199 this.lblGameSystem.Text = "game system";
200 this.lblGameSystem.TextAlign = System.Drawing.ContentAlignment.TopRight; 200 this.lblGameSystem.TextAlign = System.Drawing.ContentAlignment.TopRight;
201 // 201 //
202 // gameSystems 202 // gameSystems
203 // 203 //
204 this.gameSystems.DisplayMember = "Name"; 204 this.gameSystems.DisplayMember = "Name";
205 this.gameSystems.FormattingEnabled = true; 205 this.gameSystems.FormattingEnabled = true;
206 this.gameSystems.Location = new System.Drawing.Point(89, 6); 206 this.gameSystems.Location = new System.Drawing.Point(110, 6);
207 this.gameSystems.Name = "gameSystems"; 207 this.gameSystems.Name = "gameSystems";
208 this.gameSystems.Size = new System.Drawing.Size(269, 21); 208 this.gameSystems.Size = new System.Drawing.Size(248, 21);
209 this.gameSystems.TabIndex = 13; 209 this.gameSystems.TabIndex = 13;
210 this.gameSystems.SelectedValueChanged += new System.EventHandler(this.gameSystems_SelectedValueChanged); 210 this.gameSystems.SelectedValueChanged += new System.EventHandler(this.gameSystems_SelectedValueChanged);
211 // 211 //
212 // FrmNewArmy 212 // FrmNewArmy
213 // 213 //