Beispiel #1
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     for (int i = 0; i < logicRef.getWeightAndBMIData(SocSecNb).Count; i++)
     {
         WeightValues.Add(logicRef.getWeightAndBMIData(SocSecNb)[i].Weight);
         BMIValues.Add(logicRef.getWeightAndBMIData(SocSecNb)[i].BMI);
         XValues.Add(Convert.ToString(logicRef.getWeightAndBMIData(SocSecNb)[i].Date));
     }
 }
Beispiel #2
0
 private void OnDeserialized(StreamingContext sc)
 {
     WeightValueDictionary = WeightValues.ToDictionary(x => x.Name, x => x.Value);
     WeightNameDictionary  = WeightNames.ToDictionary(x => x.Name, x => x.Value.ToList());
 }