diff UI/EquipmentAmountControl.Designer.cs @ 43:7ace7d2249ac

Fixes #117: Add percentage and number boxes to equipment item dialogs * Add value changing when changing radio button selection * Add logic to equipment amount editing control to perform value setting (but see #146) Also, fixes #114 by rebuilding everything in to a single control
author IBBoard <dev@ibboard.co.uk>
date Mon, 07 Sep 2009 20:10:40 +0000
parents 740350673006
children 431cc3ace26c
line wrap: on
line diff
--- a/UI/EquipmentAmountControl.Designer.cs	Sun Sep 06 19:58:39 2009 +0000
+++ b/UI/EquipmentAmountControl.Designer.cs	Mon Sep 07 20:10:40 2009 +0000
@@ -34,8 +34,8 @@
 			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();
+			((System.ComponentModel.ISupportInitialize)(this.numeric)).BeginInit();
+			((System.ComponentModel.ISupportInitialize)(this.percentage)).BeginInit();
 			this.SuspendLayout();
 			// 
 			// rbNumeric
@@ -48,6 +48,7 @@
 			this.rbNumeric.TabIndex = 0;
 			this.rbNumeric.TabStop = true;
 			this.rbNumeric.UseVisualStyleBackColor = true;
+			this.rbNumeric.CheckedChanged += new System.EventHandler(this.radioCheckedChanged);
 			// 
 			// rbPercentage
 			// 
@@ -59,6 +60,7 @@
 			this.rbPercentage.TabIndex = 1;
 			this.rbPercentage.TabStop = true;
 			this.rbPercentage.UseVisualStyleBackColor = true;
+			this.rbPercentage.CheckedChanged += new System.EventHandler(this.radioCheckedChanged);
 			// 
 			// rbEquipAll
 			// 
@@ -113,8 +115,8 @@
 			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();
+			((System.ComponentModel.ISupportInitialize)(this.numeric)).EndInit();
+			((System.ComponentModel.ISupportInitialize)(this.percentage)).EndInit();
 			this.ResumeLayout(false);
 			this.PerformLayout();