Esempio n. 1
0
        private void GalleryTab_OnSelected(object sender, RoutedEventArgs e)
        {
            QueryStartUp();
            MessageQueue.Enqueue("正在获取收藏夹...");

            PixivHelper.DoIterate(new GalleryIterator(Identity.Global.Id), ImageListViewNewItemSource());
        }
Esempio n. 2
0
        private void FollowingTab_OnSelected(object sender, RoutedEventArgs e)
        {
            QueryStartUp();
            MessageQueue.Enqueue("正在获取关注列表...");

            PixivHelper.DoIterate(new UserFollowingIterator(Identity.Global.Id), NewItemsSource <User>(UserPreviewListView));
        }
Esempio n. 3
0
        private void RankingTab_OnSelected(object sender, RoutedEventArgs e)
        {
            QueryStartUp();
            MessageQueue.Enqueue("正在获取每日推荐的作品...");

            PixivHelper.DoIterate(new RankingIterator(), ImageListViewNewItemSource(), true);
        }
Esempio n. 4
0
        private void UpdateIllustTab_OnSelected(object sender, RoutedEventArgs e)
        {
            QueryStartUp();
            MessageQueue.Enqueue("正在获取关注用户的最新作品...");

            PixivHelper.DoIterate(new UserUpdateIterator(), ImageListViewNewItemSource());
        }
Esempio n. 5
0
        private void SpotlightTab_OnSelected(object sender, RoutedEventArgs e)
        {
            QueryStartUp();

            var iterator = new SpotlightQueryIterator(Settings.Global.SpotlightQueryStart, Settings.Global.QueryPages);

            PixivHelper.DoIterate(iterator, NewItemsSource <SpotlightArticle>(SpotlightListView), true);
        }
Esempio n. 6
0
 private void SetupUserGallery(string id)
 {
     PixivHelper.DoIterate(new GalleryIterator(id), NewItemsSource <Illustration>(UserIllustsImageListView));
 }
Esempio n. 7
0
 private void QueryWorks(string keyword)
 {
     QueryStartUp();
     PixivHelper.DoIterate(new QueryIterator(keyword, Settings.Global.QueryStart), NewItemsSource <Illustration>(ImageListView), true);
 }
Esempio n. 8
0
        private void TryQueryUser(string keyword)
        {
            QueryStartUp();

            PixivHelper.DoIterate(new UserPreviewIterator(keyword), NewItemsSource <User>(UserPreviewListView));
        }
Esempio n. 9
0
        private void SetupFavorite()
        {
            atUploadSelector = false;

            PixivHelper.DoIterate(new GalleryIterator(user.Id), UiHelper.NewItemsSource <Illustration>(ImageListView));
        }
Esempio n. 10
0
        private void SetupUploads()
        {
            atUploadSelector = true;

            PixivHelper.DoIterate(new UploadIterator(user.Id), UiHelper.NewItemsSource <Illustration>(ImageListView));
        }