private void btnQuitarLicencia_Click(object sender, RoutedEventArgs e) { MVLicencia.RecuperaLicencia(); if (!string.IsNullOrEmpty(MVLicencia.Licencia)) { ConfirmacionSupervisor = false; Acceso Login = new Acceso("Administrador", ventanaLicencia: this); Login.ShowDialog(); if (ConfirmacionSupervisor) { RevocarLicencia ventana = new RevocarLicencia(); ventana.ShowDialog(); PaginaPrincipal.HabilitaBotones(); ActualizarTextosDeLicencia(); } } }
private void btnQuitarLicencia_Click(object sender, RoutedEventArgs e) { RevocarLicencia ventana = new RevocarLicencia(); ventana.ShowDialog(); }