mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-11 15:07:11 +00:00
21 lines
No EOL
450 B
C#
21 lines
No EOL
450 B
C#
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace PKHeX.WinForms
|
|
{
|
|
public partial class SplashScreen : Form
|
|
{
|
|
public SplashScreen()
|
|
{
|
|
InitializeComponent();
|
|
new Task(() =>
|
|
{
|
|
while (!Main.IsInitialized)
|
|
Thread.Sleep(50);
|
|
|
|
Invoke((MethodInvoker)Close);
|
|
}).Start();
|
|
}
|
|
}
|
|
} |