private void SplashTimer_Tick(object sender, EventArgs e)
        {
            this.Hide();
            StartForm StartForm = new StartForm();

            StartForm.Show();
            SplashTimer.Enabled = false;
        }
示例#2
0
        void SplashTimer_Tick(object sender, EventArgs e)

        {
            //after 3 sec stop the timer

            SplashTimer.Stop();

            //display mainform

            StartForm mf = new StartForm();

            mf.Show();

            //hide this form

            this.Hide();
        }