Exemple #1
0
 private void ClickChangePassword(object sender, RoutedEventArgs e)
 {
     try
     {
         CambiarContraseñaWindow changePasswordWindow = new CambiarContraseñaWindow(this, username);
         this.Content = changePasswordWindow;
     }
     catch (System.ServiceModel.EndpointNotFoundException ex)
     {
         Console.WriteLine(ex.ToString());
         LabelAlert.Content = Properties.Resources.ServerIsOff;
     }
 }
Exemple #2
0
        private void clickCambiarContraseña(object sender, RoutedEventArgs e)
        {
            CambiarContraseñaWindow cambiarContraseña = new CambiarContraseñaWindow(this, usuario);

            this.Content = cambiarContraseña;
        }