Exemplo n.º 1
0
        private void splashtimer_Tick(object sender, EventArgs e)
        {
            // 1. Instantiate the next form
            SharpAutoForm sharpform = new SharpAutoForm();

            // 2. pass a reference to the current form to the next form
            sharpform.previousForm = this;

            this.splashtimer.Enabled = false;
            sharpform.Show();
            this.Hide();
        }
Exemplo n.º 2
0
        private void SplashFormTimer_Tick(object sender, EventArgs e)
        {
            //1. intantiate
            SharpAutoForm autoCenterForm = new SharpAutoForm();

            //2. pass a reference to the
            autoCenterForm.previousForm = this;

            this.splashFormTimer.Enabled = false;
            autoCenterForm.Show();
            this.Hide();
            //this.Show();
            //this.Close();
        }