コード例 #1
0
        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();
        }