diff UI/EquipmentAmountControl.Designer.cs @ 40:740350673006

Re #117: Add percentage and number boxes to equipment item dialogs * Add a new EquipmentAmountControl to bundle the controls with some initial implementation * Add new control to "new equipment" dialog and remove old controls Also: * Update some namespaces
author IBBoard <dev@ibboard.co.uk>
date Sun, 06 Sep 2009 18:01:54 +0000
parents
children 7ace7d2249ac
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/UI/EquipmentAmountControl.Designer.cs	Sun Sep 06 18:01:54 2009 +0000
@@ -0,0 +1,132 @@
+namespace IBBoard.WarFoundry.GUI.WinForms.UI
+{
+	partial class EquipmentAmountControl
+	{
+		/// <summary> 
+		/// Required designer variable.
+		/// </summary>
+		private System.ComponentModel.IContainer components = null;
+
+		/// <summary> 
+		/// Clean up any resources being used.
+		/// </summary>
+		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+		protected override void Dispose(bool disposing)
+		{
+			if (disposing && (components != null))
+			{
+				components.Dispose();
+			}
+			base.Dispose(disposing);
+		}
+
+		#region Component Designer generated code
+
+		/// <summary> 
+		/// Required method for Designer support - do not modify 
+		/// the contents of this method with the code editor.
+		/// </summary>
+		private void InitializeComponent()
+		{
+			this.rbNumeric = new System.Windows.Forms.RadioButton();
+			this.rbPercentage = new System.Windows.Forms.RadioButton();
+			this.rbEquipAll = new System.Windows.Forms.RadioButton();
+			this.numeric = new System.Windows.Forms.NumericUpDown();
+			this.percentage = new System.Windows.Forms.NumericUpDown();
+			this.lblPercentSign = new System.Windows.Forms.Label();
+			((System.ComponentModel.ISupportInitialize) (this.numeric)).BeginInit();
+			((System.ComponentModel.ISupportInitialize) (this.percentage)).BeginInit();
+			this.SuspendLayout();
+			// 
+			// rbNumeric
+			// 
+			this.rbNumeric.AutoSize = true;
+			this.rbNumeric.Enabled = false;
+			this.rbNumeric.Location = new System.Drawing.Point(6, 5);
+			this.rbNumeric.Name = "rbNumeric";
+			this.rbNumeric.Size = new System.Drawing.Size(14, 13);
+			this.rbNumeric.TabIndex = 0;
+			this.rbNumeric.TabStop = true;
+			this.rbNumeric.UseVisualStyleBackColor = true;
+			// 
+			// rbPercentage
+			// 
+			this.rbPercentage.AutoSize = true;
+			this.rbPercentage.Enabled = false;
+			this.rbPercentage.Location = new System.Drawing.Point(6, 31);
+			this.rbPercentage.Name = "rbPercentage";
+			this.rbPercentage.Size = new System.Drawing.Size(14, 13);
+			this.rbPercentage.TabIndex = 1;
+			this.rbPercentage.TabStop = true;
+			this.rbPercentage.UseVisualStyleBackColor = true;
+			// 
+			// rbEquipAll
+			// 
+			this.rbEquipAll.AutoSize = true;
+			this.rbEquipAll.Enabled = false;
+			this.rbEquipAll.Location = new System.Drawing.Point(6, 55);
+			this.rbEquipAll.Name = "rbEquipAll";
+			this.rbEquipAll.Size = new System.Drawing.Size(66, 17);
+			this.rbEquipAll.TabIndex = 2;
+			this.rbEquipAll.TabStop = true;
+			this.rbEquipAll.Text = "Equip All";
+			this.rbEquipAll.UseVisualStyleBackColor = true;
+			this.rbEquipAll.CheckedChanged += new System.EventHandler(this.rbEquipAll_CheckedChanged);
+			// 
+			// numeric
+			// 
+			this.numeric.Enabled = false;
+			this.numeric.Location = new System.Drawing.Point(26, 3);
+			this.numeric.Name = "numeric";
+			this.numeric.Size = new System.Drawing.Size(120, 20);
+			this.numeric.TabIndex = 3;
+			this.numeric.ValueChanged += new System.EventHandler(this.numeric_ValueChanged);
+			// 
+			// percentage
+			// 
+			this.percentage.DecimalPlaces = 1;
+			this.percentage.Enabled = false;
+			this.percentage.Location = new System.Drawing.Point(26, 29);
+			this.percentage.Name = "percentage";
+			this.percentage.Size = new System.Drawing.Size(105, 20);
+			this.percentage.TabIndex = 4;
+			this.percentage.ValueChanged += new System.EventHandler(this.percentage_ValueChanged);
+			// 
+			// lblPercentSign
+			// 
+			this.lblPercentSign.AutoSize = true;
+			this.lblPercentSign.Location = new System.Drawing.Point(131, 31);
+			this.lblPercentSign.Name = "lblPercentSign";
+			this.lblPercentSign.Size = new System.Drawing.Size(15, 13);
+			this.lblPercentSign.TabIndex = 5;
+			this.lblPercentSign.Text = "%";
+			// 
+			// EquipmentAmountControl
+			// 
+			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+			this.Controls.Add(this.lblPercentSign);
+			this.Controls.Add(this.percentage);
+			this.Controls.Add(this.numeric);
+			this.Controls.Add(this.rbEquipAll);
+			this.Controls.Add(this.rbPercentage);
+			this.Controls.Add(this.rbNumeric);
+			this.Name = "EquipmentAmountControl";
+			this.Size = new System.Drawing.Size(155, 77);
+			((System.ComponentModel.ISupportInitialize) (this.numeric)).EndInit();
+			((System.ComponentModel.ISupportInitialize) (this.percentage)).EndInit();
+			this.ResumeLayout(false);
+			this.PerformLayout();
+
+		}
+
+		#endregion
+
+		private System.Windows.Forms.RadioButton rbNumeric;
+		private System.Windows.Forms.RadioButton rbPercentage;
+		private System.Windows.Forms.RadioButton rbEquipAll;
+		private System.Windows.Forms.NumericUpDown numeric;
+		private System.Windows.Forms.NumericUpDown percentage;
+		private System.Windows.Forms.Label lblPercentSign;
+	}
+}