private void insertItems(Tripsss trip)
 {
     if (trip.GetItems() != null)
     {
         foreach (Item item in trip.GetItems())
         {
             itemList.Items.Add(new TripListItemView(this, item, Trip, EditedItems));
         }
     }
 }
 private Boolean IsValidName(Tripsss trip, Item item)
 {
     if (trip.GetItems() == null)
     {
         return true;
     }
     // Just checks if name of item == unique
     Boolean valid = true;
     foreach (Item itemInList in trip.GetItems())
     {
         if (itemInList.Name.Equals(item.Name))
         {
             valid = false;
         }
     }
     return valid;
 }