Esempio n. 1
0
        public SplashScreen()
        {
            InitializeComponent();
            FadeIn();

            m_TextCallback  += new SetSplashTextCallback(TextCallback_Invoke);
            m_CloseCallback += new CloseSplashCallback(CloseCallback_Invoke);
        }
        // --------------------------------------------------------------
        #region CONSTRUCTOR
        // --------------------------------------------------------------

        /// <summary>
        /// Initialize the form
        /// </summary>
        public SplashScreen()
        {
            // initialize the components
            InitializeComponent();

            // fade in the splash screen
            FadeIn();

            // add the text update callback event
            m_TextCallback += new SetSplashTextCallback(TextCallback_Invoke);

            // add the close splash callback event
            m_CloseCallback += new CloseSplashCallback(CloseCallback_Invoke);
        }