/// <summary> /// Creator : Thomas Dupuy /// Created: 2/21/2020 /// Approver: Austin Gee /// /// This method is called when the view appointments tab is loaded /// </summary> /// /// <remarks> /// Updater: /// Updated: /// Update: /// </remarks> /// <param name="sender"></param> /// <param name="e"></param> private void DgAppointmentList_Loaded(object sender, RoutedEventArgs e) { try { dgAppointmentList.ItemsSource = _appointmentManager.RetrieveAllActiveAppointments(); } catch (Exception) { WPFErrorHandler.ErrorMessage("Could not retrieve data."); } }