// 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) { } }
// This helper method simply populates the dgActivityList with the appropriate data. private void populateActivityList() { try { dgActivityList.ItemsSource = _activityManager?.RetrieveActivitiesByActivitySchedule(); } catch (Exception) { } }