comparison 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
comparison
equal deleted inserted replaced
42:d06c2e390a14 43:7ace7d2249ac
32 this.rbPercentage = new System.Windows.Forms.RadioButton(); 32 this.rbPercentage = new System.Windows.Forms.RadioButton();
33 this.rbEquipAll = new System.Windows.Forms.RadioButton(); 33 this.rbEquipAll = new System.Windows.Forms.RadioButton();
34 this.numeric = new System.Windows.Forms.NumericUpDown(); 34 this.numeric = new System.Windows.Forms.NumericUpDown();
35 this.percentage = new System.Windows.Forms.NumericUpDown(); 35 this.percentage = new System.Windows.Forms.NumericUpDown();
36 this.lblPercentSign = new System.Windows.Forms.Label(); 36 this.lblPercentSign = new System.Windows.Forms.Label();
37 ((System.ComponentModel.ISupportInitialize) (this.numeric)).BeginInit(); 37 ((System.ComponentModel.ISupportInitialize)(this.numeric)).BeginInit();
38 ((System.ComponentModel.ISupportInitialize) (this.percentage)).BeginInit(); 38 ((System.ComponentModel.ISupportInitialize)(this.percentage)).BeginInit();
39 this.SuspendLayout(); 39 this.SuspendLayout();
40 // 40 //
41 // rbNumeric 41 // rbNumeric
42 // 42 //
43 this.rbNumeric.AutoSize = true; 43 this.rbNumeric.AutoSize = true;
46 this.rbNumeric.Name = "rbNumeric"; 46 this.rbNumeric.Name = "rbNumeric";
47 this.rbNumeric.Size = new System.Drawing.Size(14, 13); 47 this.rbNumeric.Size = new System.Drawing.Size(14, 13);
48 this.rbNumeric.TabIndex = 0; 48 this.rbNumeric.TabIndex = 0;
49 this.rbNumeric.TabStop = true; 49 this.rbNumeric.TabStop = true;
50 this.rbNumeric.UseVisualStyleBackColor = true; 50 this.rbNumeric.UseVisualStyleBackColor = true;
51 this.rbNumeric.CheckedChanged += new System.EventHandler(this.radioCheckedChanged);
51 // 52 //
52 // rbPercentage 53 // rbPercentage
53 // 54 //
54 this.rbPercentage.AutoSize = true; 55 this.rbPercentage.AutoSize = true;
55 this.rbPercentage.Enabled = false; 56 this.rbPercentage.Enabled = false;
57 this.rbPercentage.Name = "rbPercentage"; 58 this.rbPercentage.Name = "rbPercentage";
58 this.rbPercentage.Size = new System.Drawing.Size(14, 13); 59 this.rbPercentage.Size = new System.Drawing.Size(14, 13);
59 this.rbPercentage.TabIndex = 1; 60 this.rbPercentage.TabIndex = 1;
60 this.rbPercentage.TabStop = true; 61 this.rbPercentage.TabStop = true;
61 this.rbPercentage.UseVisualStyleBackColor = true; 62 this.rbPercentage.UseVisualStyleBackColor = true;
63 this.rbPercentage.CheckedChanged += new System.EventHandler(this.radioCheckedChanged);
62 // 64 //
63 // rbEquipAll 65 // rbEquipAll
64 // 66 //
65 this.rbEquipAll.AutoSize = true; 67 this.rbEquipAll.AutoSize = true;
66 this.rbEquipAll.Enabled = false; 68 this.rbEquipAll.Enabled = false;
111 this.Controls.Add(this.rbEquipAll); 113 this.Controls.Add(this.rbEquipAll);
112 this.Controls.Add(this.rbPercentage); 114 this.Controls.Add(this.rbPercentage);
113 this.Controls.Add(this.rbNumeric); 115 this.Controls.Add(this.rbNumeric);
114 this.Name = "EquipmentAmountControl"; 116 this.Name = "EquipmentAmountControl";
115 this.Size = new System.Drawing.Size(155, 77); 117 this.Size = new System.Drawing.Size(155, 77);
116 ((System.ComponentModel.ISupportInitialize) (this.numeric)).EndInit(); 118 ((System.ComponentModel.ISupportInitialize)(this.numeric)).EndInit();
117 ((System.ComponentModel.ISupportInitialize) (this.percentage)).EndInit(); 119 ((System.ComponentModel.ISupportInitialize)(this.percentage)).EndInit();
118 this.ResumeLayout(false); 120 this.ResumeLayout(false);
119 this.PerformLayout(); 121 this.PerformLayout();
120 122
121 } 123 }
122 124