Beispiel #1
0
 private PredictionAndRealFallsVM()
 {
     currentModel       = ManagePredictionReportAndRealFallsModel.Instance;
     ReportLocation     = new ObservableCollection <Location_>(currentModel.ReportLocation);
     AssessmentLocation = new ObservableCollection <Location_>(currentModel.AssessmentLocation);
     Falllocation       = new ObservableCollection <Location_>(currentModel.FallLocation);
     ReportLocation.CollectionChanged     += ReportLocation_CollectionChanged;
     AssessmentLocation.CollectionChanged += AssessmentLocations_CollectionChanged;
     Falllocation.CollectionChanged       += Falllocations_CollectionChanged;
 }
 private PredictionAndRealFallsVM()
 {
     currentModel = ManagePredictionReportAndRealFallsModel.Instance;
     Locations    = new ObservableCollection <Locations>(currentModel.LocationsList);
     Locations.CollectionChanged += Locations_CollectionChanged;
 }