/// <summary>
 /// Creator: Ethan Murphy
 /// Created: 2/7/2020
 /// Approver: Chuck Baxter 2/14/2020
 /// Approver: Carl Davis 2/14/2020
 ///
 /// No argument constructor that intializes
 /// the animal vet appointment manager
 /// </summary>
 /// <remarks>
 /// Updater:
 /// Updated:
 /// Update:
 /// </remarks>
 public VetAppointmentControls(PetUniverseUser user)
 {
     InitializeComponent();
     _vetAppointmentManager = new VetAppointmentManager();
     _animalManager         = new AnimalManager();
     _user = user;
     cboAppointmentTime.ItemsSource = Times();
     cboFollowupTime.ItemsSource    = Times();
 }
 /// <summary>
 /// Creator: Ethan Murphy
 /// Created: 2/22/2020
 /// Approver: Zach Behrensmeyer
 ///
 /// Opens the prescription creation page
 /// </summary>
 /// <remarks>
 /// Updater:
 /// Updated:
 /// Update:
 /// </remarks>
 private void BtnCreate_Click(object sender, RoutedEventArgs e)
 {
     canViewPrescription.Visibility = Visibility.Visible;
     canView.Visibility             = Visibility.Hidden;
     _vetAppointmentManager         = new VetAppointmentManager();
     try
     {
         dgAppointmentList.ItemsSource = _vetAppointmentManager.RetrieveVetAppointmentsByActive(true);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex + " " + ex.InnerException.Message);
     }
     EnableAddMode();
 }