Example #1
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     if (vm.check(txtmail.Text, txtmdp.Password) == "")
     {
         MessageBox.Show("Inexistant");
     }
     else
     {
         MessageBox.Show("Bonjour " + vm.check(txtmail.Text, txtmdp.Password));
     }
 }