コード例 #1
0
 private void Collection_Changed(object sender, NotifyCollectionChangedEventArgs e)
 {
     try
     {
         jsonIO.WriteToJsonFile(contacts);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
         Close();
     }
 }
コード例 #2
0
 private void Collection_Changed(object sender, NotifyCollectionChangedEventArgs e)
 {
     IOservice.WriteToJsonFile(tasksClasses);
     AddTasksDate();
 }