changeset 5:387f17b36f52

Initial mock up of the Category tab of the System Form.
author Tsudico
date Mon, 13 Dec 2010 21:07:20 -0600
parents 866d0093bb11
children d63df495cf5a
files FrmSystem.Designer.cs
diffstat 1 files changed, 264 insertions(+), 32 deletions(-) [+]
line diff
     1.1 --- a/FrmSystem.Designer.cs	Sun Dec 12 16:13:15 2010 -0600
     1.2 +++ b/FrmSystem.Designer.cs	Mon Dec 13 21:07:20 2010 -0600
     1.3 @@ -32,6 +32,8 @@
     1.4  			this.btnSystemClose = new System.Windows.Forms.Button();
     1.5  			this.tabSystem = new System.Windows.Forms.TabControl();
     1.6  			this.tabInfo = new System.Windows.Forms.TabPage();
     1.7 +			this.numDefaultSize = new System.Windows.Forms.NumericUpDown();
     1.8 +			this.lblDefaultSize = new System.Windows.Forms.Label();
     1.9  			this.panel2 = new System.Windows.Forms.Panel();
    1.10  			this.radSystemAlliesNo = new System.Windows.Forms.RadioButton();
    1.11  			this.radSystemAlliesYes = new System.Windows.Forms.RadioButton();
    1.12 @@ -46,6 +48,22 @@
    1.13  			this.txtSystemName = new System.Windows.Forms.TextBox();
    1.14  			this.lblSystemName = new System.Windows.Forms.Label();
    1.15  			this.tabCategories = new System.Windows.Forms.TabPage();
    1.16 +			this.gbCategoryLimits = new System.Windows.Forms.GroupBox();
    1.17 +			this.lblPercentLimit = new System.Windows.Forms.Label();
    1.18 +			this.cbPercentMax = new System.Windows.Forms.CheckBox();
    1.19 +			this.numPercentMax = new System.Windows.Forms.NumericUpDown();
    1.20 +			this.cbPercentMin = new System.Windows.Forms.CheckBox();
    1.21 +			this.numPercentMin = new System.Windows.Forms.NumericUpDown();
    1.22 +			this.cbPointMax = new System.Windows.Forms.CheckBox();
    1.23 +			this.numPointMax = new System.Windows.Forms.NumericUpDown();
    1.24 +			this.cbPointMin = new System.Windows.Forms.CheckBox();
    1.25 +			this.numPointMin = new System.Windows.Forms.NumericUpDown();
    1.26 +			this.lblPointLimit = new System.Windows.Forms.Label();
    1.27 +			this.btnGenerateCatID = new System.Windows.Forms.Button();
    1.28 +			this.txtCategoryID = new System.Windows.Forms.TextBox();
    1.29 +			this.lblCategoryID = new System.Windows.Forms.Label();
    1.30 +			this.txtCategoryName = new System.Windows.Forms.TextBox();
    1.31 +			this.lblCategoryName = new System.Windows.Forms.Label();
    1.32  			this.btnCategoryUp = new System.Windows.Forms.Button();
    1.33  			this.listCategories = new System.Windows.Forms.ListBox();
    1.34  			this.btnCategoryDown = new System.Windows.Forms.Button();
    1.35 @@ -58,15 +76,18 @@
    1.36  			this.btnStatsRemove = new System.Windows.Forms.Button();
    1.37  			this.btnStatsEdit = new System.Windows.Forms.Button();
    1.38  			this.btnStatsAdd = new System.Windows.Forms.Button();
    1.39 -			this.lblDefaultSize = new System.Windows.Forms.Label();
    1.40 -			this.numDefaultSize = new System.Windows.Forms.NumericUpDown();
    1.41  			this.tabSystem.SuspendLayout();
    1.42  			this.tabInfo.SuspendLayout();
    1.43 +			((System.ComponentModel.ISupportInitialize)(this.numDefaultSize)).BeginInit();
    1.44  			this.panel2.SuspendLayout();
    1.45  			this.panel1.SuspendLayout();
    1.46  			this.tabCategories.SuspendLayout();
    1.47 +			this.gbCategoryLimits.SuspendLayout();
    1.48 +			((System.ComponentModel.ISupportInitialize)(this.numPercentMax)).BeginInit();
    1.49 +			((System.ComponentModel.ISupportInitialize)(this.numPercentMin)).BeginInit();
    1.50 +			((System.ComponentModel.ISupportInitialize)(this.numPointMax)).BeginInit();
    1.51 +			((System.ComponentModel.ISupportInitialize)(this.numPointMin)).BeginInit();
    1.52  			this.tabStats.SuspendLayout();
    1.53 -			((System.ComponentModel.ISupportInitialize)(this.numDefaultSize)).BeginInit();
    1.54  			this.SuspendLayout();
    1.55  			// 
    1.56  			// btnSystemSave
    1.57 @@ -118,6 +139,33 @@
    1.58  			this.tabInfo.Text = "General";
    1.59  			this.tabInfo.UseVisualStyleBackColor = true;
    1.60  			// 
    1.61 +			// numDefaultSize
    1.62 +			// 
    1.63 +			this.numDefaultSize.Increment = new decimal(new int[] {
    1.64 +            50,
    1.65 +            0,
    1.66 +            0,
    1.67 +            0});
    1.68 +			this.numDefaultSize.Location = new System.Drawing.Point(188, 116);
    1.69 +			this.numDefaultSize.Maximum = new decimal(new int[] {
    1.70 +            1000000,
    1.71 +            0,
    1.72 +            0,
    1.73 +            0});
    1.74 +			this.numDefaultSize.Name = "numDefaultSize";
    1.75 +			this.numDefaultSize.Size = new System.Drawing.Size(99, 20);
    1.76 +			this.numDefaultSize.TabIndex = 16;
    1.77 +			this.numDefaultSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
    1.78 +			// 
    1.79 +			// lblDefaultSize
    1.80 +			// 
    1.81 +			this.lblDefaultSize.AutoSize = true;
    1.82 +			this.lblDefaultSize.Location = new System.Drawing.Point(6, 118);
    1.83 +			this.lblDefaultSize.Name = "lblDefaultSize";
    1.84 +			this.lblDefaultSize.Size = new System.Drawing.Size(93, 13);
    1.85 +			this.lblDefaultSize.TabIndex = 15;
    1.86 +			this.lblDefaultSize.Text = "Default Army Size:";
    1.87 +			// 
    1.88  			// panel2
    1.89  			// 
    1.90  			this.panel2.Controls.Add(this.radSystemAlliesNo);
    1.91 @@ -244,6 +292,12 @@
    1.92  			// 
    1.93  			// tabCategories
    1.94  			// 
    1.95 +			this.tabCategories.Controls.Add(this.gbCategoryLimits);
    1.96 +			this.tabCategories.Controls.Add(this.btnGenerateCatID);
    1.97 +			this.tabCategories.Controls.Add(this.txtCategoryID);
    1.98 +			this.tabCategories.Controls.Add(this.lblCategoryID);
    1.99 +			this.tabCategories.Controls.Add(this.txtCategoryName);
   1.100 +			this.tabCategories.Controls.Add(this.lblCategoryName);
   1.101  			this.tabCategories.Controls.Add(this.btnCategoryUp);
   1.102  			this.tabCategories.Controls.Add(this.listCategories);
   1.103  			this.tabCategories.Controls.Add(this.btnCategoryDown);
   1.104 @@ -258,6 +312,188 @@
   1.105  			this.tabCategories.Text = "Categories";
   1.106  			this.tabCategories.UseVisualStyleBackColor = true;
   1.107  			// 
   1.108 +			// gbCategoryLimits
   1.109 +			// 
   1.110 +			this.gbCategoryLimits.Controls.Add(this.lblPercentLimit);
   1.111 +			this.gbCategoryLimits.Controls.Add(this.cbPercentMax);
   1.112 +			this.gbCategoryLimits.Controls.Add(this.numPercentMax);
   1.113 +			this.gbCategoryLimits.Controls.Add(this.cbPercentMin);
   1.114 +			this.gbCategoryLimits.Controls.Add(this.numPercentMin);
   1.115 +			this.gbCategoryLimits.Controls.Add(this.cbPointMax);
   1.116 +			this.gbCategoryLimits.Controls.Add(this.numPointMax);
   1.117 +			this.gbCategoryLimits.Controls.Add(this.cbPointMin);
   1.118 +			this.gbCategoryLimits.Controls.Add(this.numPointMin);
   1.119 +			this.gbCategoryLimits.Controls.Add(this.lblPointLimit);
   1.120 +			this.gbCategoryLimits.Location = new System.Drawing.Point(298, 63);
   1.121 +			this.gbCategoryLimits.Name = "gbCategoryLimits";
   1.122 +			this.gbCategoryLimits.Size = new System.Drawing.Size(277, 207);
   1.123 +			this.gbCategoryLimits.TabIndex = 23;
   1.124 +			this.gbCategoryLimits.TabStop = false;
   1.125 +			this.gbCategoryLimits.Text = "Category Limits";
   1.126 +			// 
   1.127 +			// lblPercentLimit
   1.128 +			// 
   1.129 +			this.lblPercentLimit.AutoSize = true;
   1.130 +			this.lblPercentLimit.Location = new System.Drawing.Point(6, 73);
   1.131 +			this.lblPercentLimit.Name = "lblPercentLimit";
   1.132 +			this.lblPercentLimit.Size = new System.Drawing.Size(76, 13);
   1.133 +			this.lblPercentLimit.TabIndex = 11;
   1.134 +			this.lblPercentLimit.Text = "Percent Limits:";
   1.135 +			// 
   1.136 +			// cbPercentMax
   1.137 +			// 
   1.138 +			this.cbPercentMax.AutoSize = true;
   1.139 +			this.cbPercentMax.Location = new System.Drawing.Point(97, 98);
   1.140 +			this.cbPercentMax.Name = "cbPercentMax";
   1.141 +			this.cbPercentMax.Size = new System.Drawing.Size(73, 17);
   1.142 +			this.cbPercentMax.TabIndex = 10;
   1.143 +			this.cbPercentMax.Text = "Maximum:";
   1.144 +			this.cbPercentMax.UseVisualStyleBackColor = true;
   1.145 +			// 
   1.146 +			// numPercentMax
   1.147 +			// 
   1.148 +			this.numPercentMax.DecimalPlaces = 4;
   1.149 +			this.numPercentMax.Increment = new decimal(new int[] {
   1.150 +            5,
   1.151 +            0,
   1.152 +            0,
   1.153 +            0});
   1.154 +			this.numPercentMax.Location = new System.Drawing.Point(202, 97);
   1.155 +			this.numPercentMax.Name = "numPercentMax";
   1.156 +			this.numPercentMax.Size = new System.Drawing.Size(69, 20);
   1.157 +			this.numPercentMax.TabIndex = 9;
   1.158 +			this.numPercentMax.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
   1.159 +			// 
   1.160 +			// cbPercentMin
   1.161 +			// 
   1.162 +			this.cbPercentMin.AutoSize = true;
   1.163 +			this.cbPercentMin.Location = new System.Drawing.Point(97, 72);
   1.164 +			this.cbPercentMin.Name = "cbPercentMin";
   1.165 +			this.cbPercentMin.Size = new System.Drawing.Size(70, 17);
   1.166 +			this.cbPercentMin.TabIndex = 8;
   1.167 +			this.cbPercentMin.Text = "Minimum:";
   1.168 +			this.cbPercentMin.UseVisualStyleBackColor = true;
   1.169 +			// 
   1.170 +			// numPercentMin
   1.171 +			// 
   1.172 +			this.numPercentMin.DecimalPlaces = 4;
   1.173 +			this.numPercentMin.Increment = new decimal(new int[] {
   1.174 +            5,
   1.175 +            0,
   1.176 +            0,
   1.177 +            0});
   1.178 +			this.numPercentMin.Location = new System.Drawing.Point(202, 71);
   1.179 +			this.numPercentMin.Name = "numPercentMin";
   1.180 +			this.numPercentMin.Size = new System.Drawing.Size(69, 20);
   1.181 +			this.numPercentMin.TabIndex = 7;
   1.182 +			this.numPercentMin.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
   1.183 +			// 
   1.184 +			// cbPointMax
   1.185 +			// 
   1.186 +			this.cbPointMax.AutoSize = true;
   1.187 +			this.cbPointMax.Location = new System.Drawing.Point(97, 46);
   1.188 +			this.cbPointMax.Name = "cbPointMax";
   1.189 +			this.cbPointMax.Size = new System.Drawing.Size(73, 17);
   1.190 +			this.cbPointMax.TabIndex = 6;
   1.191 +			this.cbPointMax.Text = "Maximum:";
   1.192 +			this.cbPointMax.UseVisualStyleBackColor = true;
   1.193 +			// 
   1.194 +			// numPointMax
   1.195 +			// 
   1.196 +			this.numPointMax.Increment = new decimal(new int[] {
   1.197 +            50,
   1.198 +            0,
   1.199 +            0,
   1.200 +            0});
   1.201 +			this.numPointMax.Location = new System.Drawing.Point(202, 45);
   1.202 +			this.numPointMax.Maximum = new decimal(new int[] {
   1.203 +            1000000,
   1.204 +            0,
   1.205 +            0,
   1.206 +            0});
   1.207 +			this.numPointMax.Name = "numPointMax";
   1.208 +			this.numPointMax.Size = new System.Drawing.Size(69, 20);
   1.209 +			this.numPointMax.TabIndex = 5;
   1.210 +			this.numPointMax.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
   1.211 +			// 
   1.212 +			// cbPointMin
   1.213 +			// 
   1.214 +			this.cbPointMin.AutoSize = true;
   1.215 +			this.cbPointMin.Location = new System.Drawing.Point(97, 20);
   1.216 +			this.cbPointMin.Name = "cbPointMin";
   1.217 +			this.cbPointMin.Size = new System.Drawing.Size(70, 17);
   1.218 +			this.cbPointMin.TabIndex = 4;
   1.219 +			this.cbPointMin.Text = "Minimum:";
   1.220 +			this.cbPointMin.UseVisualStyleBackColor = true;
   1.221 +			// 
   1.222 +			// numPointMin
   1.223 +			// 
   1.224 +			this.numPointMin.Increment = new decimal(new int[] {
   1.225 +            50,
   1.226 +            0,
   1.227 +            0,
   1.228 +            0});
   1.229 +			this.numPointMin.Location = new System.Drawing.Point(202, 19);
   1.230 +			this.numPointMin.Maximum = new decimal(new int[] {
   1.231 +            1000000,
   1.232 +            0,
   1.233 +            0,
   1.234 +            0});
   1.235 +			this.numPointMin.Name = "numPointMin";
   1.236 +			this.numPointMin.Size = new System.Drawing.Size(69, 20);
   1.237 +			this.numPointMin.TabIndex = 2;
   1.238 +			this.numPointMin.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
   1.239 +			// 
   1.240 +			// lblPointLimit
   1.241 +			// 
   1.242 +			this.lblPointLimit.AutoSize = true;
   1.243 +			this.lblPointLimit.Location = new System.Drawing.Point(6, 21);
   1.244 +			this.lblPointLimit.Name = "lblPointLimit";
   1.245 +			this.lblPointLimit.Size = new System.Drawing.Size(63, 13);
   1.246 +			this.lblPointLimit.TabIndex = 0;
   1.247 +			this.lblPointLimit.Text = "Point Limits:";
   1.248 +			// 
   1.249 +			// btnGenerateCatID
   1.250 +			// 
   1.251 +			this.btnGenerateCatID.Location = new System.Drawing.Point(500, 34);
   1.252 +			this.btnGenerateCatID.Name = "btnGenerateCatID";
   1.253 +			this.btnGenerateCatID.Size = new System.Drawing.Size(76, 23);
   1.254 +			this.btnGenerateCatID.TabIndex = 22;
   1.255 +			this.btnGenerateCatID.Text = "Generate ID";
   1.256 +			this.btnGenerateCatID.UseVisualStyleBackColor = true;
   1.257 +			// 
   1.258 +			// txtCategoryID
   1.259 +			// 
   1.260 +			this.txtCategoryID.Location = new System.Drawing.Point(395, 36);
   1.261 +			this.txtCategoryID.Name = "txtCategoryID";
   1.262 +			this.txtCategoryID.Size = new System.Drawing.Size(99, 20);
   1.263 +			this.txtCategoryID.TabIndex = 21;
   1.264 +			// 
   1.265 +			// lblCategoryID
   1.266 +			// 
   1.267 +			this.lblCategoryID.AutoSize = true;
   1.268 +			this.lblCategoryID.Location = new System.Drawing.Point(295, 39);
   1.269 +			this.lblCategoryID.Name = "lblCategoryID";
   1.270 +			this.lblCategoryID.Size = new System.Drawing.Size(66, 13);
   1.271 +			this.lblCategoryID.TabIndex = 20;
   1.272 +			this.lblCategoryID.Text = "Category ID:";
   1.273 +			// 
   1.274 +			// txtCategoryName
   1.275 +			// 
   1.276 +			this.txtCategoryName.Location = new System.Drawing.Point(394, 7);
   1.277 +			this.txtCategoryName.Name = "txtCategoryName";
   1.278 +			this.txtCategoryName.Size = new System.Drawing.Size(182, 20);
   1.279 +			this.txtCategoryName.TabIndex = 19;
   1.280 +			// 
   1.281 +			// lblCategoryName
   1.282 +			// 
   1.283 +			this.lblCategoryName.AutoSize = true;
   1.284 +			this.lblCategoryName.Location = new System.Drawing.Point(295, 10);
   1.285 +			this.lblCategoryName.Name = "lblCategoryName";
   1.286 +			this.lblCategoryName.Size = new System.Drawing.Size(83, 13);
   1.287 +			this.lblCategoryName.TabIndex = 18;
   1.288 +			this.lblCategoryName.Text = "Category Name:";
   1.289 +			// 
   1.290  			// btnCategoryUp
   1.291  			// 
   1.292  			this.btnCategoryUp.Location = new System.Drawing.Point(216, 121);
   1.293 @@ -272,7 +508,7 @@
   1.294  			this.listCategories.FormattingEnabled = true;
   1.295  			this.listCategories.Location = new System.Drawing.Point(3, 6);
   1.296  			this.listCategories.Name = "listCategories";
   1.297 -			this.listCategories.Size = new System.Drawing.Size(207, 225);
   1.298 +			this.listCategories.Size = new System.Drawing.Size(207, 264);
   1.299  			this.listCategories.TabIndex = 12;
   1.300  			// 
   1.301  			// btnCategoryDown
   1.302 @@ -370,33 +606,6 @@
   1.303  			this.btnStatsAdd.Text = "Add";
   1.304  			this.btnStatsAdd.UseVisualStyleBackColor = true;
   1.305  			// 
   1.306 -			// lblDefaultSize
   1.307 -			// 
   1.308 -			this.lblDefaultSize.AutoSize = true;
   1.309 -			this.lblDefaultSize.Location = new System.Drawing.Point(6, 118);
   1.310 -			this.lblDefaultSize.Name = "lblDefaultSize";
   1.311 -			this.lblDefaultSize.Size = new System.Drawing.Size(93, 13);
   1.312 -			this.lblDefaultSize.TabIndex = 15;
   1.313 -			this.lblDefaultSize.Text = "Default Army Size:";
   1.314 -			// 
   1.315 -			// numDefaultSize
   1.316 -			// 
   1.317 -			this.numDefaultSize.Increment = new decimal(new int[] {
   1.318 -            50,
   1.319 -            0,
   1.320 -            0,
   1.321 -            0});
   1.322 -			this.numDefaultSize.Location = new System.Drawing.Point(188, 116);
   1.323 -			this.numDefaultSize.Maximum = new decimal(new int[] {
   1.324 -            1000000,
   1.325 -            0,
   1.326 -            0,
   1.327 -            0});
   1.328 -			this.numDefaultSize.Name = "numDefaultSize";
   1.329 -			this.numDefaultSize.Size = new System.Drawing.Size(99, 20);
   1.330 -			this.numDefaultSize.TabIndex = 16;
   1.331 -			this.numDefaultSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
   1.332 -			// 
   1.333  			// FrmSystem
   1.334  			// 
   1.335  			this.ClientSize = new System.Drawing.Size(615, 360);
   1.336 @@ -408,13 +617,20 @@
   1.337  			this.tabSystem.ResumeLayout(false);
   1.338  			this.tabInfo.ResumeLayout(false);
   1.339  			this.tabInfo.PerformLayout();
   1.340 +			((System.ComponentModel.ISupportInitialize)(this.numDefaultSize)).EndInit();
   1.341  			this.panel2.ResumeLayout(false);
   1.342  			this.panel2.PerformLayout();
   1.343  			this.panel1.ResumeLayout(false);
   1.344  			this.panel1.PerformLayout();
   1.345  			this.tabCategories.ResumeLayout(false);
   1.346 +			this.tabCategories.PerformLayout();
   1.347 +			this.gbCategoryLimits.ResumeLayout(false);
   1.348 +			this.gbCategoryLimits.PerformLayout();
   1.349 +			((System.ComponentModel.ISupportInitialize)(this.numPercentMax)).EndInit();
   1.350 +			((System.ComponentModel.ISupportInitialize)(this.numPercentMin)).EndInit();
   1.351 +			((System.ComponentModel.ISupportInitialize)(this.numPointMax)).EndInit();
   1.352 +			((System.ComponentModel.ISupportInitialize)(this.numPointMin)).EndInit();
   1.353  			this.tabStats.ResumeLayout(false);
   1.354 -			((System.ComponentModel.ISupportInitialize)(this.numDefaultSize)).EndInit();
   1.355  			this.ResumeLayout(false);
   1.356  
   1.357  		}
   1.358 @@ -453,6 +669,22 @@
   1.359  		private System.Windows.Forms.Button btnStatsAdd;
   1.360  		private System.Windows.Forms.NumericUpDown numDefaultSize;
   1.361  		private System.Windows.Forms.Label lblDefaultSize;
   1.362 +		private System.Windows.Forms.Button btnGenerateCatID;
   1.363 +		private System.Windows.Forms.TextBox txtCategoryID;
   1.364 +		private System.Windows.Forms.Label lblCategoryID;
   1.365 +		private System.Windows.Forms.TextBox txtCategoryName;
   1.366 +		private System.Windows.Forms.Label lblCategoryName;
   1.367 +		private System.Windows.Forms.GroupBox gbCategoryLimits;
   1.368 +		private System.Windows.Forms.Label lblPointLimit;
   1.369 +		private System.Windows.Forms.NumericUpDown numPointMin;
   1.370 +		private System.Windows.Forms.CheckBox cbPointMin;
   1.371 +		private System.Windows.Forms.CheckBox cbPointMax;
   1.372 +		private System.Windows.Forms.NumericUpDown numPointMax;
   1.373 +		private System.Windows.Forms.CheckBox cbPercentMax;
   1.374 +		private System.Windows.Forms.NumericUpDown numPercentMax;
   1.375 +		private System.Windows.Forms.CheckBox cbPercentMin;
   1.376 +		private System.Windows.Forms.NumericUpDown numPercentMin;
   1.377 +		private System.Windows.Forms.Label lblPercentLimit;
   1.378  
   1.379  	}
   1.380  }