private void btnConsultar_Click(object sender, RoutedEventArgs e)
        {
            txtConfirmarpass.Visibility = Visibility.Hidden;
            lbConfirmar.Visibility = Visibility.Hidden;

            var bus = new BuscarAdministrador();
            bus.ShowDialog();

            txtId.Text = bus.Administrador.Id.ToString();
            txtNombre.Text = bus.Administrador.Nombre;
            txtApellido.Text = bus.Administrador.Apellido;
            txtNick.Text = bus.Administrador.Nick;
            txtPass.Password = bus.Administrador.Pass;
            txtConfirmarpass.Password = bus.Administrador.Pass;

            txtNombre.IsEnabled = true;
            txtApellido.IsEnabled = true;
            txtNick.IsEnabled = true;
            txtPass.IsEnabled = true;
            txtConfirmarpass.IsEnabled = true;
            btnNuevo.IsEnabled = false;
            btnGuardar.IsEnabled = false;
            btnModificar.IsEnabled = true;
            btnEliminar.IsEnabled = true;
            btnConsultar.IsEnabled = true;
            btnSalir.IsEnabled = true;
        }
 //Boton Registro Admin
 private void MenuItem_Click_5(object sender, RoutedEventArgs e)
 {
     var admi = new BuscarAdministrador();
     admi.ShowDialog();
 }