Пример #1
0
        protected async override void OnNavigatedTo(NavigationEventArgs e)
        {
            YoutubeMethod ytb = new YoutubeMethod();

            gridlist_gridview.ItemsSource = await ytb.video_Channel();

            await ytb.channelInfo();

            avatar_image.Source = new BitmapImage(new Uri(ytb.Channel_Avatar, UriKind.RelativeOrAbsolute));
        }
Пример #2
0
        protected async override void OnNavigatedTo(NavigationEventArgs e)
        {
            // TODO: Prepare page for display here.

            //double width = Application.Current.RootVisual.RenderSize.Width - 20;
            YoutubeMethod ytb = new YoutubeMethod();


            await ytb.channelInfo();

            gridlist_gridview.ItemsSource = await ytb.video_Channel();

            avatar_image.Source        = new BitmapImage(new Uri(ytb.Channel_Avatar, UriKind.RelativeOrAbsolute));
            channelname_textblock.Text = ytb.Channel_Title;
        }