コード例 #1
0
        private static void ShowForm(object threadStartData)
        {
            JcwSplashScreenParameters jcwThreadStartData = threadStartData as JcwSplashScreenParameters;

            if (jcwThreadStartData != null)
            {
                ApplicationSplashScreen = new JcwSplashScreenFrm(jcwThreadStartData);
                Application.Run(ApplicationSplashScreen);
            }
        }
コード例 #2
0
        public static void CloseForm()
        {
            if (ApplicationSplashScreen != null && ApplicationSplashScreen.IsDisposed == false)
            {
                // start splash screen fade away process
                ApplicationSplashScreen.m_opacityIncrement = -ApplicationSplashScreen.m_opacityDecrement;
            }

            SplashScreenThread      = null;
            ApplicationSplashScreen = null;
        }