예제 #1
0
 private void tareaCompletada(object sender, RunWorkerCompletedEventArgs e)
 {
     if (e.Cancelled)
     {
         MessageBox.Show("Inicio Cancelado");
         Application.Exit();
     }
     else
     {
         if (OK)
         {
             LoginForm login = new LoginForm();
             login.Show();
             this.Hide();
         }
         else
         {
             Application.Exit();
         }
     }
 }
예제 #2
0
파일: HOME.cs 프로젝트: Alex-Palacios/DDSIC
 public void LOGOUT()
 {
     USUARIO = null;
     LoginForm logear = new LoginForm();
     logear.Show();
     this.Hide();
 }