public static void CloseForm() { if (mySplash != null) { mySplash.m_dblOpacityIncrement = -mySplash.m_dblOpacityDecrement; } myThread = null; mySplash = null; }
private static void ShowForm() { mySplash = new gui_SplashScreen(); try { Application.Run(mySplash); } catch (InvalidOperationException) { // Quick-Hack wegen Sebastians Laptop ... } catch (Win32Exception) { // Quick-Hack wegen Sebastians Laptop ... } }