Re-add changeSpecies event

now updates the listbox as intended (event was never set)

Closes #281
This commit is contained in:
Kurt
2018-02-10 12:08:07 -08:00
parent c4332b077f
commit 58ca85bbd8

View File

@@ -66,18 +66,18 @@ private void InitializeComponent()
this.CHK_G3 = new System.Windows.Forms.CheckBox();
this.CHK_G2 = new System.Windows.Forms.CheckBox();
this.CHK_G1 = new System.Windows.Forms.CheckBox();
this.NUD_LevelBoost = new System.Windows.Forms.NumericUpDown();
this.CHK_Level = new System.Windows.Forms.CheckBox();
this.NUD_ForceFullyEvolved = new System.Windows.Forms.NumericUpDown();
this.CHK_ForceFullyEvolved = new System.Windows.Forms.CheckBox();
this.NUD_LevelBoost = new System.Windows.Forms.NumericUpDown();
this.CHK_Level = new System.Windows.Forms.CheckBox();
this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.NUD_Level)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.NUD_Form)).BeginInit();
this.tabPage2.SuspendLayout();
this.GB_Tweak.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.NUD_LevelBoost)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.NUD_ForceFullyEvolved)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.NUD_LevelBoost)).BeginInit();
this.SuspendLayout();
//
// B_Cancel
@@ -219,6 +219,7 @@ private void InitializeComponent()
this.CB_Species.Name = "CB_Species";
this.CB_Species.Size = new System.Drawing.Size(121, 21);
this.CB_Species.TabIndex = 506;
this.CB_Species.SelectedIndexChanged += new System.EventHandler(this.changeSpecies);
//
// L_Species
//
@@ -502,6 +503,34 @@ private void InitializeComponent()
this.CHK_G1.Text = "Gen 1";
this.CHK_G1.UseVisualStyleBackColor = true;
//
// NUD_ForceFullyEvolved
//
this.NUD_ForceFullyEvolved.Location = new System.Drawing.Point(168, 158);
this.NUD_ForceFullyEvolved.Minimum = new decimal(new int[] {
1,
0,
0,
0});
this.NUD_ForceFullyEvolved.Name = "NUD_ForceFullyEvolved";
this.NUD_ForceFullyEvolved.Size = new System.Drawing.Size(40, 20);
this.NUD_ForceFullyEvolved.TabIndex = 516;
this.NUD_ForceFullyEvolved.Value = new decimal(new int[] {
50,
0,
0,
0});
//
// CHK_ForceFullyEvolved
//
this.CHK_ForceFullyEvolved.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.CHK_ForceFullyEvolved.AutoSize = true;
this.CHK_ForceFullyEvolved.Location = new System.Drawing.Point(9, 159);
this.CHK_ForceFullyEvolved.Name = "CHK_ForceFullyEvolved";
this.CHK_ForceFullyEvolved.Size = new System.Drawing.Size(160, 17);
this.CHK_ForceFullyEvolved.TabIndex = 515;
this.CHK_ForceFullyEvolved.Text = "Force Fully Evolved at Level";
this.CHK_ForceFullyEvolved.UseVisualStyleBackColor = true;
//
// NUD_LevelBoost
//
this.NUD_LevelBoost.DecimalPlaces = 2;
@@ -537,34 +566,6 @@ private void InitializeComponent()
this.CHK_Level.Text = "Multiply PKM Level by";
this.CHK_Level.UseVisualStyleBackColor = true;
//
// NUD_ForceFullyEvolved
//
this.NUD_ForceFullyEvolved.Location = new System.Drawing.Point(168, 158);
this.NUD_ForceFullyEvolved.Minimum = new decimal(new int[] {
1,
0,
0,
0});
this.NUD_ForceFullyEvolved.Name = "NUD_ForceFullyEvolved";
this.NUD_ForceFullyEvolved.Size = new System.Drawing.Size(40, 20);
this.NUD_ForceFullyEvolved.TabIndex = 516;
this.NUD_ForceFullyEvolved.Value = new decimal(new int[] {
50,
0,
0,
0});
//
// CHK_ForceFullyEvolved
//
this.CHK_ForceFullyEvolved.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.CHK_ForceFullyEvolved.AutoSize = true;
this.CHK_ForceFullyEvolved.Location = new System.Drawing.Point(9, 159);
this.CHK_ForceFullyEvolved.Name = "CHK_ForceFullyEvolved";
this.CHK_ForceFullyEvolved.Size = new System.Drawing.Size(160, 17);
this.CHK_ForceFullyEvolved.TabIndex = 515;
this.CHK_ForceFullyEvolved.Text = "Force Fully Evolved at Level";
this.CHK_ForceFullyEvolved.UseVisualStyleBackColor = true;
//
// StaticEncounterEditor6
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -591,8 +592,8 @@ private void InitializeComponent()
this.tabPage2.PerformLayout();
this.GB_Tweak.ResumeLayout(false);
this.GB_Tweak.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.NUD_LevelBoost)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.NUD_ForceFullyEvolved)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.NUD_LevelBoost)).EndInit();
this.ResumeLayout(false);
}