private void crearMenuForm()
 {
     if (frmMenu == null)
     {
         frmMenu             = new FrmConsulta();
         frmMenu.FormClosed += MenuFormClosed;
     }
 }
 private void BtnGuardar_Click(object sender, EventArgs e)
 {
     if (!(tbPassword.Text.Any()) || tbPassword.Text != "123")
     {
         MessageBox.Show("Contraseña invalida, intente nuevamente...");
         tbPassword.Clear();
     }
     else
     {
         if (frmMenu == null)
         {
             frmMenu             = new FrmConsulta();
             frmMenu.FormClosed += MenuFormClosed;
         }
         frmMenu.Show();
         this.Hide();
     }
 }
 private void MenuFormClosed(object sender, FormClosedEventArgs e)
 {
     frmMenu.FormClosed -= MenuFormClosed;
     frmMenu             = null;
     this.Show();
 }