PKHeX/PKHeX.WinForms/Controls/PKM Editor/GenderToggle.Designer.cs
Kurt 3d7bfcfe11 Revise some GUI interactions, accessibility
https://github.com/kwsch/PKHeX/issues/3758#issuecomment-1417458988

Removes the Level textbox behavior that resets the text to "1" when the textbox is empty. Can be left empty, and will be treated as 1 when values are stored.

Adds an accessibility label for the "Make Shiny" button
Adds an accessibility description and enter/space keypress to toggle similar to the click event.

For determining if something is shiny, if the Shiny button is not tab-able, it is shiny. I wasn't able to get the Shiny star/square indicator to be able to be tabbed to for some reason.
2023-02-05 11:18:05 -08:00

47 lines
1.5 KiB
C#

namespace PKHeX.WinForms.Controls
{
partial class GenderToggle
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.SuspendLayout();
//
// GenderToggle
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.Name = "GenderToggle";
this.Size = new System.Drawing.Size(18, 18);
this.Click += new System.EventHandler(this.GenderToggle_Click);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.GenderToggle_KeyDown);
this.ResumeLayout(false);
}
#endregion
}
}