Beispiel #1
0
 private void BoutonLogin_Click(object sender, RoutedEventArgs e)
 {
     BLL.BLL bll = new BLL.BLL(iD.Text);
     if (bll.login(password.Text) == true)
     {
         Contacts_View fenetreContact = new Contacts_View();
         fenetreContact.Show();
         this.Close();
     }
     else
     {
         messageLogin.Content = "Incorrect ID or password";
     }
 }