Beispiel #1
0
 public static Login GetInstance()
 {
     if (_instancia == null)
         _instancia = new Login();
     return _instancia;
 }
Beispiel #2
0
 private void mnuLogOff_Click(object sender, EventArgs e)
 {
     DialogResult Result = MessageBox.Show("Desea cerrar sesion?", "Confirmacion", MessageBoxButtons.OKCancel);
     if(Result == DialogResult.OK)
     {
         this.Hide();
         Login Lg = new Login();
         Lg.Show();
     }
 }