private void timerListaAluno_Tick(object sender, EventArgs e)
 {
     progressBar1.Increment(10);
     if (progressBar1.Value == 100)
     {
         CadLista c = new CadLista();
         timerListaAluno.Stop();
         c.ShowDialog();
         progressBar1.Increment(-100);
     }
 }
Example #2
0
        private void BtnBusca_Click(object sender, EventArgs e)
        {
            CadLista c = new CadLista();

            c.ShowDialog();
        }