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 wrap: on
line diff
--- a/FrmSystem.Designer.cs	Sun Dec 12 16:13:15 2010 -0600
+++ b/FrmSystem.Designer.cs	Mon Dec 13 21:07:20 2010 -0600
@@ -32,6 +32,8 @@
 			this.btnSystemClose = new System.Windows.Forms.Button();
 			this.tabSystem = new System.Windows.Forms.TabControl();
 			this.tabInfo = new System.Windows.Forms.TabPage();
+			this.numDefaultSize = new System.Windows.Forms.NumericUpDown();
+			this.lblDefaultSize = new System.Windows.Forms.Label();
 			this.panel2 = new System.Windows.Forms.Panel();
 			this.radSystemAlliesNo = new System.Windows.Forms.RadioButton();
 			this.radSystemAlliesYes = new System.Windows.Forms.RadioButton();
@@ -46,6 +48,22 @@
 			this.txtSystemName = new System.Windows.Forms.TextBox();
 			this.lblSystemName = new System.Windows.Forms.Label();
 			this.tabCategories = new System.Windows.Forms.TabPage();
+			this.gbCategoryLimits = new System.Windows.Forms.GroupBox();
+			this.lblPercentLimit = new System.Windows.Forms.Label();
+			this.cbPercentMax = new System.Windows.Forms.CheckBox();
+			this.numPercentMax = new System.Windows.Forms.NumericUpDown();
+			this.cbPercentMin = new System.Windows.Forms.CheckBox();
+			this.numPercentMin = new System.Windows.Forms.NumericUpDown();
+			this.cbPointMax = new System.Windows.Forms.CheckBox();
+			this.numPointMax = new System.Windows.Forms.NumericUpDown();
+			this.cbPointMin = new System.Windows.Forms.CheckBox();
+			this.numPointMin = new System.Windows.Forms.NumericUpDown();
+			this.lblPointLimit = new System.Windows.Forms.Label();
+			this.btnGenerateCatID = new System.Windows.Forms.Button();
+			this.txtCategoryID = new System.Windows.Forms.TextBox();
+			this.lblCategoryID = new System.Windows.Forms.Label();
+			this.txtCategoryName = new System.Windows.Forms.TextBox();
+			this.lblCategoryName = new System.Windows.Forms.Label();
 			this.btnCategoryUp = new System.Windows.Forms.Button();
 			this.listCategories = new System.Windows.Forms.ListBox();
 			this.btnCategoryDown = new System.Windows.Forms.Button();
@@ -58,15 +76,18 @@
 			this.btnStatsRemove = new System.Windows.Forms.Button();
 			this.btnStatsEdit = new System.Windows.Forms.Button();
 			this.btnStatsAdd = new System.Windows.Forms.Button();
-			this.lblDefaultSize = new System.Windows.Forms.Label();
-			this.numDefaultSize = new System.Windows.Forms.NumericUpDown();
 			this.tabSystem.SuspendLayout();
 			this.tabInfo.SuspendLayout();
+			((System.ComponentModel.ISupportInitialize)(this.numDefaultSize)).BeginInit();
 			this.panel2.SuspendLayout();
 			this.panel1.SuspendLayout();
 			this.tabCategories.SuspendLayout();
+			this.gbCategoryLimits.SuspendLayout();
+			((System.ComponentModel.ISupportInitialize)(this.numPercentMax)).BeginInit();
+			((System.ComponentModel.ISupportInitialize)(this.numPercentMin)).BeginInit();
+			((System.ComponentModel.ISupportInitialize)(this.numPointMax)).BeginInit();
+			((System.ComponentModel.ISupportInitialize)(this.numPointMin)).BeginInit();
 			this.tabStats.SuspendLayout();
-			((System.ComponentModel.ISupportInitialize)(this.numDefaultSize)).BeginInit();
 			this.SuspendLayout();
 			// 
 			// btnSystemSave
@@ -118,6 +139,33 @@
 			this.tabInfo.Text = "General";
 			this.tabInfo.UseVisualStyleBackColor = true;
 			// 
+			// numDefaultSize
+			// 
+			this.numDefaultSize.Increment = new decimal(new int[] {
+            50,
+            0,
+            0,
+            0});
+			this.numDefaultSize.Location = new System.Drawing.Point(188, 116);
+			this.numDefaultSize.Maximum = new decimal(new int[] {
+            1000000,
+            0,
+            0,
+            0});
+			this.numDefaultSize.Name = "numDefaultSize";
+			this.numDefaultSize.Size = new System.Drawing.Size(99, 20);
+			this.numDefaultSize.TabIndex = 16;
+			this.numDefaultSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
+			// 
+			// lblDefaultSize
+			// 
+			this.lblDefaultSize.AutoSize = true;
+			this.lblDefaultSize.Location = new System.Drawing.Point(6, 118);
+			this.lblDefaultSize.Name = "lblDefaultSize";
+			this.lblDefaultSize.Size = new System.Drawing.Size(93, 13);
+			this.lblDefaultSize.TabIndex = 15;
+			this.lblDefaultSize.Text = "Default Army Size:";
+			// 
 			// panel2
 			// 
 			this.panel2.Controls.Add(this.radSystemAlliesNo);
@@ -244,6 +292,12 @@
 			// 
 			// tabCategories
 			// 
+			this.tabCategories.Controls.Add(this.gbCategoryLimits);
+			this.tabCategories.Controls.Add(this.btnGenerateCatID);
+			this.tabCategories.Controls.Add(this.txtCategoryID);
+			this.tabCategories.Controls.Add(this.lblCategoryID);
+			this.tabCategories.Controls.Add(this.txtCategoryName);
+			this.tabCategories.Controls.Add(this.lblCategoryName);
 			this.tabCategories.Controls.Add(this.btnCategoryUp);
 			this.tabCategories.Controls.Add(this.listCategories);
 			this.tabCategories.Controls.Add(this.btnCategoryDown);
@@ -258,6 +312,188 @@
 			this.tabCategories.Text = "Categories";
 			this.tabCategories.UseVisualStyleBackColor = true;
 			// 
+			// gbCategoryLimits
+			// 
+			this.gbCategoryLimits.Controls.Add(this.lblPercentLimit);
+			this.gbCategoryLimits.Controls.Add(this.cbPercentMax);
+			this.gbCategoryLimits.Controls.Add(this.numPercentMax);
+			this.gbCategoryLimits.Controls.Add(this.cbPercentMin);
+			this.gbCategoryLimits.Controls.Add(this.numPercentMin);
+			this.gbCategoryLimits.Controls.Add(this.cbPointMax);
+			this.gbCategoryLimits.Controls.Add(this.numPointMax);
+			this.gbCategoryLimits.Controls.Add(this.cbPointMin);
+			this.gbCategoryLimits.Controls.Add(this.numPointMin);
+			this.gbCategoryLimits.Controls.Add(this.lblPointLimit);
+			this.gbCategoryLimits.Location = new System.Drawing.Point(298, 63);
+			this.gbCategoryLimits.Name = "gbCategoryLimits";
+			this.gbCategoryLimits.Size = new System.Drawing.Size(277, 207);
+			this.gbCategoryLimits.TabIndex = 23;
+			this.gbCategoryLimits.TabStop = false;
+			this.gbCategoryLimits.Text = "Category Limits";
+			// 
+			// lblPercentLimit
+			// 
+			this.lblPercentLimit.AutoSize = true;
+			this.lblPercentLimit.Location = new System.Drawing.Point(6, 73);
+			this.lblPercentLimit.Name = "lblPercentLimit";
+			this.lblPercentLimit.Size = new System.Drawing.Size(76, 13);
+			this.lblPercentLimit.TabIndex = 11;
+			this.lblPercentLimit.Text = "Percent Limits:";
+			// 
+			// cbPercentMax
+			// 
+			this.cbPercentMax.AutoSize = true;
+			this.cbPercentMax.Location = new System.Drawing.Point(97, 98);
+			this.cbPercentMax.Name = "cbPercentMax";
+			this.cbPercentMax.Size = new System.Drawing.Size(73, 17);
+			this.cbPercentMax.TabIndex = 10;
+			this.cbPercentMax.Text = "Maximum:";
+			this.cbPercentMax.UseVisualStyleBackColor = true;
+			// 
+			// numPercentMax
+			// 
+			this.numPercentMax.DecimalPlaces = 4;
+			this.numPercentMax.Increment = new decimal(new int[] {
+            5,
+            0,
+            0,
+            0});
+			this.numPercentMax.Location = new System.Drawing.Point(202, 97);
+			this.numPercentMax.Name = "numPercentMax";
+			this.numPercentMax.Size = new System.Drawing.Size(69, 20);
+			this.numPercentMax.TabIndex = 9;
+			this.numPercentMax.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
+			// 
+			// cbPercentMin
+			// 
+			this.cbPercentMin.AutoSize = true;
+			this.cbPercentMin.Location = new System.Drawing.Point(97, 72);
+			this.cbPercentMin.Name = "cbPercentMin";
+			this.cbPercentMin.Size = new System.Drawing.Size(70, 17);
+			this.cbPercentMin.TabIndex = 8;
+			this.cbPercentMin.Text = "Minimum:";
+			this.cbPercentMin.UseVisualStyleBackColor = true;
+			// 
+			// numPercentMin
+			// 
+			this.numPercentMin.DecimalPlaces = 4;
+			this.numPercentMin.Increment = new decimal(new int[] {
+            5,
+            0,
+            0,
+            0});
+			this.numPercentMin.Location = new System.Drawing.Point(202, 71);
+			this.numPercentMin.Name = "numPercentMin";
+			this.numPercentMin.Size = new System.Drawing.Size(69, 20);
+			this.numPercentMin.TabIndex = 7;
+			this.numPercentMin.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
+			// 
+			// cbPointMax
+			// 
+			this.cbPointMax.AutoSize = true;
+			this.cbPointMax.Location = new System.Drawing.Point(97, 46);
+			this.cbPointMax.Name = "cbPointMax";
+			this.cbPointMax.Size = new System.Drawing.Size(73, 17);
+			this.cbPointMax.TabIndex = 6;
+			this.cbPointMax.Text = "Maximum:";
+			this.cbPointMax.UseVisualStyleBackColor = true;
+			// 
+			// numPointMax
+			// 
+			this.numPointMax.Increment = new decimal(new int[] {
+            50,
+            0,
+            0,
+            0});
+			this.numPointMax.Location = new System.Drawing.Point(202, 45);
+			this.numPointMax.Maximum = new decimal(new int[] {
+            1000000,
+            0,
+            0,
+            0});
+			this.numPointMax.Name = "numPointMax";
+			this.numPointMax.Size = new System.Drawing.Size(69, 20);
+			this.numPointMax.TabIndex = 5;
+			this.numPointMax.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
+			// 
+			// cbPointMin
+			// 
+			this.cbPointMin.AutoSize = true;
+			this.cbPointMin.Location = new System.Drawing.Point(97, 20);
+			this.cbPointMin.Name = "cbPointMin";
+			this.cbPointMin.Size = new System.Drawing.Size(70, 17);
+			this.cbPointMin.TabIndex = 4;
+			this.cbPointMin.Text = "Minimum:";
+			this.cbPointMin.UseVisualStyleBackColor = true;
+			// 
+			// numPointMin
+			// 
+			this.numPointMin.Increment = new decimal(new int[] {
+            50,
+            0,
+            0,
+            0});
+			this.numPointMin.Location = new System.Drawing.Point(202, 19);
+			this.numPointMin.Maximum = new decimal(new int[] {
+            1000000,
+            0,
+            0,
+            0});
+			this.numPointMin.Name = "numPointMin";
+			this.numPointMin.Size = new System.Drawing.Size(69, 20);
+			this.numPointMin.TabIndex = 2;
+			this.numPointMin.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
+			// 
+			// lblPointLimit
+			// 
+			this.lblPointLimit.AutoSize = true;
+			this.lblPointLimit.Location = new System.Drawing.Point(6, 21);
+			this.lblPointLimit.Name = "lblPointLimit";
+			this.lblPointLimit.Size = new System.Drawing.Size(63, 13);
+			this.lblPointLimit.TabIndex = 0;
+			this.lblPointLimit.Text = "Point Limits:";
+			// 
+			// btnGenerateCatID
+			// 
+			this.btnGenerateCatID.Location = new System.Drawing.Point(500, 34);
+			this.btnGenerateCatID.Name = "btnGenerateCatID";
+			this.btnGenerateCatID.Size = new System.Drawing.Size(76, 23);
+			this.btnGenerateCatID.TabIndex = 22;
+			this.btnGenerateCatID.Text = "Generate ID";
+			this.btnGenerateCatID.UseVisualStyleBackColor = true;
+			// 
+			// txtCategoryID
+			// 
+			this.txtCategoryID.Location = new System.Drawing.Point(395, 36);
+			this.txtCategoryID.Name = "txtCategoryID";
+			this.txtCategoryID.Size = new System.Drawing.Size(99, 20);
+			this.txtCategoryID.TabIndex = 21;
+			// 
+			// lblCategoryID
+			// 
+			this.lblCategoryID.AutoSize = true;
+			this.lblCategoryID.Location = new System.Drawing.Point(295, 39);
+			this.lblCategoryID.Name = "lblCategoryID";
+			this.lblCategoryID.Size = new System.Drawing.Size(66, 13);
+			this.lblCategoryID.TabIndex = 20;
+			this.lblCategoryID.Text = "Category ID:";
+			// 
+			// txtCategoryName
+			// 
+			this.txtCategoryName.Location = new System.Drawing.Point(394, 7);
+			this.txtCategoryName.Name = "txtCategoryName";
+			this.txtCategoryName.Size = new System.Drawing.Size(182, 20);
+			this.txtCategoryName.TabIndex = 19;
+			// 
+			// lblCategoryName
+			// 
+			this.lblCategoryName.AutoSize = true;
+			this.lblCategoryName.Location = new System.Drawing.Point(295, 10);
+			this.lblCategoryName.Name = "lblCategoryName";
+			this.lblCategoryName.Size = new System.Drawing.Size(83, 13);
+			this.lblCategoryName.TabIndex = 18;
+			this.lblCategoryName.Text = "Category Name:";
+			// 
 			// btnCategoryUp
 			// 
 			this.btnCategoryUp.Location = new System.Drawing.Point(216, 121);
@@ -272,7 +508,7 @@
 			this.listCategories.FormattingEnabled = true;
 			this.listCategories.Location = new System.Drawing.Point(3, 6);
 			this.listCategories.Name = "listCategories";
-			this.listCategories.Size = new System.Drawing.Size(207, 225);
+			this.listCategories.Size = new System.Drawing.Size(207, 264);
 			this.listCategories.TabIndex = 12;
 			// 
 			// btnCategoryDown
@@ -370,33 +606,6 @@
 			this.btnStatsAdd.Text = "Add";
 			this.btnStatsAdd.UseVisualStyleBackColor = true;
 			// 
-			// lblDefaultSize
-			// 
-			this.lblDefaultSize.AutoSize = true;
-			this.lblDefaultSize.Location = new System.Drawing.Point(6, 118);
-			this.lblDefaultSize.Name = "lblDefaultSize";
-			this.lblDefaultSize.Size = new System.Drawing.Size(93, 13);
-			this.lblDefaultSize.TabIndex = 15;
-			this.lblDefaultSize.Text = "Default Army Size:";
-			// 
-			// numDefaultSize
-			// 
-			this.numDefaultSize.Increment = new decimal(new int[] {
-            50,
-            0,
-            0,
-            0});
-			this.numDefaultSize.Location = new System.Drawing.Point(188, 116);
-			this.numDefaultSize.Maximum = new decimal(new int[] {
-            1000000,
-            0,
-            0,
-            0});
-			this.numDefaultSize.Name = "numDefaultSize";
-			this.numDefaultSize.Size = new System.Drawing.Size(99, 20);
-			this.numDefaultSize.TabIndex = 16;
-			this.numDefaultSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
-			// 
 			// FrmSystem
 			// 
 			this.ClientSize = new System.Drawing.Size(615, 360);
@@ -408,13 +617,20 @@
 			this.tabSystem.ResumeLayout(false);
 			this.tabInfo.ResumeLayout(false);
 			this.tabInfo.PerformLayout();
+			((System.ComponentModel.ISupportInitialize)(this.numDefaultSize)).EndInit();
 			this.panel2.ResumeLayout(false);
 			this.panel2.PerformLayout();
 			this.panel1.ResumeLayout(false);
 			this.panel1.PerformLayout();
 			this.tabCategories.ResumeLayout(false);
+			this.tabCategories.PerformLayout();
+			this.gbCategoryLimits.ResumeLayout(false);
+			this.gbCategoryLimits.PerformLayout();
+			((System.ComponentModel.ISupportInitialize)(this.numPercentMax)).EndInit();
+			((System.ComponentModel.ISupportInitialize)(this.numPercentMin)).EndInit();
+			((System.ComponentModel.ISupportInitialize)(this.numPointMax)).EndInit();
+			((System.ComponentModel.ISupportInitialize)(this.numPointMin)).EndInit();
 			this.tabStats.ResumeLayout(false);
-			((System.ComponentModel.ISupportInitialize)(this.numDefaultSize)).EndInit();
 			this.ResumeLayout(false);
 
 		}
@@ -453,6 +669,22 @@
 		private System.Windows.Forms.Button btnStatsAdd;
 		private System.Windows.Forms.NumericUpDown numDefaultSize;
 		private System.Windows.Forms.Label lblDefaultSize;
+		private System.Windows.Forms.Button btnGenerateCatID;
+		private System.Windows.Forms.TextBox txtCategoryID;
+		private System.Windows.Forms.Label lblCategoryID;
+		private System.Windows.Forms.TextBox txtCategoryName;
+		private System.Windows.Forms.Label lblCategoryName;
+		private System.Windows.Forms.GroupBox gbCategoryLimits;
+		private System.Windows.Forms.Label lblPointLimit;
+		private System.Windows.Forms.NumericUpDown numPointMin;
+		private System.Windows.Forms.CheckBox cbPointMin;
+		private System.Windows.Forms.CheckBox cbPointMax;
+		private System.Windows.Forms.NumericUpDown numPointMax;
+		private System.Windows.Forms.CheckBox cbPercentMax;
+		private System.Windows.Forms.NumericUpDown numPercentMax;
+		private System.Windows.Forms.CheckBox cbPercentMin;
+		private System.Windows.Forms.NumericUpDown numPercentMin;
+		private System.Windows.Forms.Label lblPercentLimit;
 
 	}
 }