コード例 #1
0
        /// <summary>
        /// Invokes the splash "screen" to close..
        /// </summary>
        public static void CloseFormSplash()
        {
            formSplash.Invoke(new MethodInvoker(() =>
            {
                using (formSplash)
                {
                    formSplash.Close();
                    formSplash = null;
                }
            }));

            while (!splashThread.Join(100))
            {
                Application.DoEvents();
            }
        }