Exemple #1
0
 private void Save_Click(object sender, RoutedEventArgs e)
 {
     if (_accountFormValidator.ValidateForm(this, _accountsHandler.FreshAccount))
     {
         _accountsHandler.SendAccountCreate();
     }
 }
 private void AccountEditUpdate_Click(object sender, RoutedEventArgs e)
 {
     if (_accountsHandler.SelectedInfo == null)
     {
         return;
     }
     if (_accountFormValidator.ValidateForm(this, _accountsHandler.SelectedInfo))
     {
         _accountsHandler.SendUpdateWithSelected();
     }
 }