private void SeachPhotos_Click(object sender, EventArgs e) { m_photosByUser = new List <Photo>(); ImageListView.Clear(); UserImageList.Dispose(); foreach (Photo photo in m_photoList) { FacebookObjectCollection <PhotoTag> photoTags = photo.Tags; if (photo.Tags != null & !m_photosByUser.Contains(photo)) { foreach (PhotoTag photoTag in photoTags) { if (UserTagedWithList.CheckedItems.Contains(photoTag.User.Name)) { m_photosByUser.Add(photo); } } } } showPhotos(m_photosByUser); }