コード例 #1
0
 // This populates the dgVolunteerActivities Data Grid
 // This is where activities that are available to volunteer for are displayed
 private void populateVolunteerActivities()
 {
     try
     {
         dgVolunteerActivities.ItemsSource = _activityManager.RetrieveActivitiesByActivitySchedule();
     }
     catch (Exception) { }
 }
コード例 #2
0
 // This helper method simply populates the dgActivityList with the appropriate data.
 private void populateActivityList()
 {
     try
     {
         dgActivityList.ItemsSource = _activityManager?.RetrieveActivitiesByActivitySchedule();
     }
     catch (Exception) { }
 }