Beispiel #1
0
 public RegisterControlViewModel()
 {
     RegisterCommand = new RegisterCommand();
     Model           = new RegistrationModel();
 }
Beispiel #2
0
 public MWViewModel(RegistrationModel registrationModel)
 {
     RegistrationModel          = new RegistrationModel();
     RegistrationModelValidator = new RegistrationModelValidator();
 }
Beispiel #3
0
 public void RegisterUser(RegistrationModel model)
 {
     MessageBox.Show($"User {model.Name} Successfully registered!", "Success", MessageBoxButton.OK, MessageBoxImage.Information);
 }
Beispiel #4
0
 public MainWindowViewModel()
 {
     RegistrationModel          = new RegistrationModel();
     RegistrationModelValidator = new RegistrationModelValidator();
 }