Exemplo n.º 1
0
        /// ------------------------------------------------------------------------------------
        /// <summary>
        /// Starts the splash screen.
        /// </summary>
        /// ------------------------------------------------------------------------------------
        private void StartSplashScreen()
        {
            m_splashScreen            = new RealSplashScreen(m_displayToUse);
            m_splashScreen.WaitHandle = m_waitHandle;
#if !__MonoCS__
            m_splashScreen.ShowDialog();
#else
            // Mono Winforms can't create Forms that are not on the Main thread.
            // REVIEW: Is this line actually needed?
            //m_splashScreen.CreateControl();
            m_splashScreen.Show();
#endif
        }