Example #1
0
 private void SaveCandy_Click(object sender, RoutedEventArgs e)
 {
     FileOperations.Serialize(candyCalculator, "savedList.bin");
 }  // spar mitt program
Example #2
0
 private void Sparaknapp_Click(object sender, RoutedEventArgs e)
 {
     peoplelist = candyCalculator.GetPeople();
     FileOperations.Serialize(peoplelist, "peoplelist.bin");
 }
 private void SaveList_Click(object sender, RoutedEventArgs e)
 {
     FileOperations.Serialize(PersonList.ItemsSource, "CandyCalculator.bin");
     FileOperations.Serialize(cOriginalList, "CandyCalculator_Original.bin");
 }