Beispiel #1
0
        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();
                }
            }
        }
Beispiel #2
0
        private void btnQuitarLicencia_Click(object sender, RoutedEventArgs e)
        {
            RevocarLicencia ventana = new RevocarLicencia();

            ventana.ShowDialog();
        }