mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 08:47:14 +00:00
ee15a15c9e
Lower contest stat row Lower IsNoble & IsAlpha Prevent closing Splash Screen when interrupted by plugin dialogs
22 lines
414 B
C#
22 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();
|
|
}
|
|
}
|