Exemplo n.º 1
0
        private void tmrPercent_Tick(object sender, EventArgs e)
        {
            if (pgbPercent.Value < 100)
            {
                pgbPercent.Value = pgbPercent.Value + 2;
            }
            else
            {
                tmrPercent.Enabled = false;

                this.Hide();
                Forms.frmLogin objTela = new Forms.frmLogin();
                objTela.ShowDialog();
            }
        }
Exemplo n.º 2
0
 private void btnSair_Click(object sender, EventArgs e)
 {
     this.Hide();
     Forms.frmLogin login = new Forms.frmLogin();
     login.ShowDialog();
 }