/// <summary> /// Richard Carroll /// Created: 3/1/19 /// /// Attempts to populate the GuestID Combo box with human readable data /// </summary> private void addGuests() { try { _guests = _guestManager.RetrieveGuestNamesAndIds(); foreach (var guest in _guests) { _guestNames.Add(guest.FirstName + " " + guest.LastName); } cboGuestID.ItemsSource = _guestNames; } catch (Exception ex) { MessageBox.Show("Failed to Retrieve Guest Names\n" + ex.Message); } }