Example #1
0
 private void SaveCurrentContent()
 {
     //MyData md = new MyData();
     //md.Save(listView1.Items);
     ////SaveReadToFile.Serialize(listView1.Items);
     SaveReadToFile.Serialize(tournaments, @"..\..\tournaments.bin");
 }
Example #2
0
 private void SaveDiscipline_Click(object sender, RoutedEventArgs e)
 {
     SaveReadToFile.Serialize(athletesInTour, @"..\..\athletesInTour.bin");
 }
Example #3
0
 private void saveButton_ClickTrainer(object sender, RoutedEventArgs e)
 {
     SaveReadToFile.Serialize(trainers, @"..\..\trainers.bin");
 }
Example #4
0
 private void saveButton_ClickAthlete(object sender, RoutedEventArgs e)
 {
     SaveReadToFile.Serialize(atlets, @"..\..\atleti.bin");
 }