Пример #1
0
        public static void CloseForm()
        {
            if (mySplash != null)
            {
                mySplash.m_dblOpacityIncrement = -mySplash.m_dblOpacityDecrement;
            }

            myThread = null;
            mySplash = null;
        }
Пример #2
0
        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 ...
            }
        }