Exemple #1
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     progressBar1.Value = progressBar1.Value + 5;
     if (progressBar1.Value == 100)
     {
         timer1.Enabled = false;
         this.Hide();
         Main_Menu now = new Main_Menu();
         now.Show();
     }
 }