mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-26 22:10:21 +00:00
68c94a93b2
Also changes the Main form from Dpi to Font Attempt to resolve: https://projectpokemon.org/home/forums/topic/63374-text-sizing-with-windows-settings-ease-of-access-make-text-bigger/
22 lines
411 B
C#
22 lines
411 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();
|
|
}
|
|
}
|