private void LoadPhoto() { WaitSplash.Show(this, "Loading photos from server..."); if (!Properties.Settings.Default.First_Execution) { if (Properties.Settings.Default.Black_List_save != null) { PhotoBrowser.LoadPhotos(PhotoFilter.GetPhotos().Where(P => Properties.Settings.Default.Black_List_save.IndexOf(P.OwnerId.ToString()) == -1).ToList()); } else { PhotoBrowser.LoadPhotos(PhotoFilter.GetPhotos()); } } else { PhotoBrowser.LoadPhotos(PhotoFilter.GetPhotos()); } WaitSplash.Hide(); //WaitSplash.Show(this, "Loading photos from server..."); //// PhotoBrowser.LoadPhotos(PhotoFilter.GetPhotos().Where(P => Black_Liste.IndexOf(P.OwnerId)==-1).ToList()); //// PhotoBrowser.LoadPhotos(PhotoFilter.GetPhotos()); //PhotoBrowser.LoadPhotos(PhotoFilter.GetPhotos().Where(P => Properties.Settings.Default.Black_List_save.IndexOf(P.OwnerId.ToString()) == -1).ToList()); //WaitSplash.Hide(); }
private void LoadPhoto() { WaitSplash.Show(this, "Loading photos from server..."); PhotoBrowser.LoadPhotos(PhotoFilter.GetPhotos(), Blacklist); WaitSplash.Hide(); }