Beispiel #1
0
 private void ExecuteAddCommand(object obj)
 {
     People.Add(CurrentPerson);
     CurrentPerson = new PersonModel();
 }
Beispiel #2
0
 public FormModel()
 {
     CurrentPerson = new PersonModel();
     People        = new ObservableCollection <PersonModel>();
     AddCommand    = new Command(ExecuteAddCommand);
 }