private void AddAnomalies() { FlightdataModel fdm = Single.SingleDataModel(); foreach (AnomalyReport ar in fdm.AnomalyReports) { Anomalies_List.Items.Add(ar.ts + " : " + ar.desc); } }
public static FlightdataModel SingleDataModel() { if (dataFlag) { fdm = new FlightdataModel(); dataFlag = false; } return(fdm); }
public UserStory5VM(FlightdataModel fdm) { this.model = fdm; model.PropertyChanged += delegate(Object sender, PropertyChangedEventArgs e) { NotifyPropertyChanged("VM_" + e.PropertyName); }; }