mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 04:23:12 +00:00
Hide formarg control when not present for format
Set initial visibility state to false for startup anyways; parent usercontrol should get set invisible by PKMEditor during its setup-format logic.
This commit is contained in:
parent
d0d7895fa5
commit
989c4314ae
2 changed files with 3 additions and 0 deletions
|
@ -63,6 +63,7 @@
|
|||
0,
|
||||
0,
|
||||
0});
|
||||
this.NUD_FormArg.Visible = false;
|
||||
this.NUD_FormArg.ValueChanged += new System.EventHandler(this.NUD_FormArg_ValueChanged);
|
||||
//
|
||||
// CB_FormArg
|
||||
|
@ -76,6 +77,7 @@
|
|||
this.CB_FormArg.Name = "CB_FormArg";
|
||||
this.CB_FormArg.Size = new System.Drawing.Size(66, 21);
|
||||
this.CB_FormArg.TabIndex = 1;
|
||||
this.CB_FormArg.Visible = false;
|
||||
this.CB_FormArg.SelectedIndexChanged += new System.EventHandler(this.CB_FormArg_SelectedIndexChanged);
|
||||
//
|
||||
// FormArgument
|
||||
|
|
|
@ -1794,6 +1794,7 @@ namespace PKHeX.WinForms.Controls
|
|||
GB_ExtraBytes.Visible = GB_ExtraBytes.Enabled = gen >= 3;
|
||||
GB_Markings.Visible = gen >= 3;
|
||||
CB_Form.Enabled = gen >= 3;
|
||||
FA_Form.Visible = gen >= 6;
|
||||
|
||||
FLP_Friendship.Visible = FLP_Form.Visible = gen >= 2;
|
||||
FLP_HeldItem.Visible = gen >= 2;
|
||||
|
|
Loading…
Reference in a new issue