示例#1
0
        private void pcLogOut_Click(object sender, EventArgs e)
        {
            fn_login tela_login = new fn_login();

            tela_login.Show();
            this.Hide();
        }
 private void timer1_Tick(object sender, EventArgs e)
 {
     ProgressBar.Value++;
     if (ProgressBar.Value >= 98)
     {
         timer1.Enabled = false;
         fn_login tela_login = new fn_login();
         tela_login.Show();
         this.Hide();
     }
 }
 private void pcLogOut_Click(object sender, EventArgs e)
 {
     try
     {
         fn_login tela_login = new fn_login();
         tela_login.Show();
         this.Hide();
     }
     catch (Exception ms)
     {
         MessageBox.Show(ms.Message);
     }
 }