Ejemplo n.º 1
0
        private void cancelButton_Click(object sender, EventArgs e)
        {
            this.Hide();
            StartForm Product = new StartForm();

            Product.Show();
        }
Ejemplo n.º 2
0
        private void LoadingTimer_Tick(object sender, EventArgs e)
        {
            LoadingTimer.Enabled = false;
            StartForm startForm = new StartForm();

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

            this.SplashTimer.Enabled = false;
            startForm.Show();
            this.Hide();
        }
Ejemplo n.º 4
0
        private void splashFormTimer_Tick(object sender, EventArgs e)
        {
            //1. intantiate
            StartForm selectionForm = new StartForm();

            this.splashFormTimer.Enabled = false;
            selectionForm.Show();
            this.Hide();
        }
Ejemplo n.º 5
0
        // go to next form
        private void timerSplash_Tick(object sender, EventArgs e)
        {
            timerSplash.Enabled = false;

            StartForm startForm = new StartForm();

            this.Hide();
            startForm.Show();
        }
Ejemplo n.º 6
0
        /// <summary>
        /// this method closes the splash form and opens the starform once the timer is up
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void SplashFormTimer_Tick(object sender, EventArgs e)
        {
            StartForm startForm = new StartForm();

            startForm.previousForm = this;

            //pass a referance to the current form to the next form
            this.SplashFormTimer.Enabled = false;
            startForm.Show();
            this.Hide();
        }