コード例 #1
0
        private void SplashTimer_Tick(object sender, EventArgs e)
        {
            this.Hide();
            StartForm StartForm = new StartForm();

            StartForm.Show();
            SplashTimer.Enabled = false;
        }
コード例 #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            SplashForm  = new SplashForm();
            StartForm   = new StartForm();
            Select      = new Select();
            About       = new About();
            ProductInfo = new ProductInfo();
            Order       = new Order();
            product     = new product();
            Information = new Information();


            Application.Run(new SplashForm());
        }
コード例 #3
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();
        }