mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 00:37:11 +00:00
595c7eb4c5
resources still are associated with winforms, eh program still runs fine and I've replicated the mono build options. lmk if this breaks stuff
23 lines
No EOL
541 B
C#
23 lines
No EOL
541 B
C#
using System.Threading;
|
|
using System.Windows.Forms;
|
|
|
|
namespace PKHeX.WinForms
|
|
{
|
|
public partial class SplashScreen : Form
|
|
{
|
|
public SplashScreen()
|
|
{
|
|
InitializeComponent();
|
|
new Thread(() =>
|
|
{
|
|
while (!Main.formInitialized)
|
|
Thread.Sleep(50);
|
|
|
|
if (InvokeRequired)
|
|
try { Invoke((MethodInvoker)Close); }
|
|
catch { Close(); }
|
|
else Close();
|
|
}).Start();
|
|
}
|
|
}
|
|
} |