Beispiel #1
0
 //Events binded to buttons
 public void LoadPageOne()
 {
     SelectedScreen = new FirstChildViewModel(SelectedPerson);
 }
Beispiel #2
0
 public AnotherChildViewModel(IEventAggregator eventAggregator, PersonModel personModel, FirstChildViewModel firstChildViewModel, ThirdChildViewModel thirdChildViewModel)
 {
     _eventAggregator = eventAggregator;
     _eventAggregator.Subscribe(this);
     _person = personModel;
     _thirdChildViewModel = thirdChildViewModel;
 }