Beispiel #1
0
        private void BackButton_Click(object sender, EventArgs e)
        {
            _2ndHome f = new _2ndHome();

            this.Hide();
            f.Show();
        }
Beispiel #2
0
 private void timer_Tick(object sender, EventArgs e)
 {
     if (circularProgressBar1.Value < 40)
     {
         circularProgressBar1.Value++;
     }
     else
     {
         if (waitingTime++ > 10)
         {
             _2ndHome f = new _2ndHome();
             timer.Tick -= new EventHandler(timer_Tick);
             this.Hide();
             f.Show();
         }
     }
 }