From 58ca85bbd8f1e8552c0e8ed57c0bf8e4db914197 Mon Sep 17 00:00:00 2001 From: Kurt Date: Sat, 10 Feb 2018 12:08:07 -0800 Subject: [PATCH] Re-add changeSpecies event now updates the listbox as intended (event was never set) Closes #281 --- .../Gen6/StaticEncounterEditor6.Designer.cs | 65 ++++++++++--------- 1 file changed, 33 insertions(+), 32 deletions(-) diff --git a/pk3DS/Subforms/Gen6/StaticEncounterEditor6.Designer.cs b/pk3DS/Subforms/Gen6/StaticEncounterEditor6.Designer.cs index a7a03a7..ba2e3f7 100644 --- a/pk3DS/Subforms/Gen6/StaticEncounterEditor6.Designer.cs +++ b/pk3DS/Subforms/Gen6/StaticEncounterEditor6.Designer.cs @@ -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); }