Example #1
0
 private void timer_Splash_Tick(object sender, EventArgs e)
 {
     if (progressBar_Splash.Value < 100)
     {
         progressBar_Splash.Value = progressBar_Splash.Value + 2;
     }
     else
     {
         timer_Splash.Enabled = false;
         if (UsuarioController.existeUsuario())
         {
             Form2_Login l = new Form2_Login();
             l.Show();
         }
         else
         {
             Form10_PrimeAcesso p = new Form10_PrimeAcesso();
             p.Show();
         }
         this.Hide();
     }
 }
Example #2
0
 private void button_Teste_Click(object sender, EventArgs e)
 {
     Form10_PrimeAcesso n = new Form10_PrimeAcesso();
     n.Show();
 }