Beispiel #1
0
 private void Button_Click_Valider(object sender, RoutedEventArgs e)
 {
     if (Manager.verifierMotDePasse(password.Password))
     {
         SubscribeWindow subWindow = new SubscribeWindow(2);
         subWindow.ProfilUpdated += OnProfilUpdated;
         subWindow.Show();
     }
     else
     {
         MessageBox.Show("Mot de passe incorrect", "Attention", MessageBoxButton.OK, MessageBoxImage.Warning);
     }
     Close();
 }
        private void Button_Click_Subscribe(object sender, RoutedEventArgs e)
        {
            SubscribeWindow subWind = new SubscribeWindow(1);

            subWind.Show();
        }