Example #1
0
        // -------------- Botões de controle das janelas
        // -------------- Inicio
        private void pctrBx_Sair_Click(object sender, EventArgs e)
        {
            // Volta para a janela de login
            Frm_Login frm_Login_retorno = new Frm_Login();

            frm_Login_retorno.Show();
            this.Dispose();
        }
Example #2
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     if (progressBar1.Value < 100)
     {
         progressBar1.Value = progressBar1.Value + 2;
     }
     else
     {
         timer1.Enabled = false;
         Frm_Login frm_Login = new Frm_Login();
         frm_Login.Show();
         this.Visible = false;
     }
 }