mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-12 23:06:58 -05:00
Lower contest stat row Lower IsNoble & IsAlpha Prevent closing Splash Screen when interrupted by plugin dialogs
23 lines
414 B
C#
23 lines
414 B
C#
using System.Windows.Forms;
|
|
|
|
namespace PKHeX.WinForms;
|
|
|
|
public partial class SplashScreen : Form
|
|
{
|
|
public SplashScreen() => InitializeComponent();
|
|
|
|
private bool CanClose;
|
|
|
|
private void SplashScreen_FormClosing(object sender, FormClosingEventArgs e)
|
|
{
|
|
if (!CanClose)
|
|
e.Cancel = true;
|
|
}
|
|
|
|
public void ForceClose()
|
|
{
|
|
CanClose = true;
|
|
Close();
|
|
}
|
|
}
|