Exemplo n.º 1
0
        private async void btnCreateFavBox_Click(object sender, RoutedEventArgs e)
        {
            CreateFavFolderDialog createFavFolderDialog = new CreateFavFolderDialog();
            await createFavFolderDialog.ShowAsync();

            videoVM.Refresh();
        }
Exemplo n.º 2
0
        private async void btnCreateFavBox_Click(object sender, RoutedEventArgs e)
        {
            if (!SettingHelper.Account.Logined && await Utils.ShowLoginDialog())
            {
                Utils.ShowMessageToast("请先登录");
                return;
            }
            CreateFavFolderDialog createFavFolderDialog = new CreateFavFolderDialog();
            await createFavFolderDialog.ShowAsync();

            await videoDetailVM.LoadFavorite(videoDetailVM.VideoInfo.aid);
        }