コード例 #1
0
        private void SearchBox_VideoSelected(string title, object id, string type)
        {
            DownloadOption downloadOption = ShowDownloadOption();

            switch (type)
            {
            case "aid":
                downloadOption.ShowParts(title, (uint)(long)id, false);
                break;

            case "bvid":
                downloadOption.ShowPartsBv(title, (string)id);
                break;
            }
        }
コード例 #2
0
        private void FavList_VideoSelected(string title, long id)
        {
            DownloadOption downloadOption = ShowDownloadOption();

            downloadOption.ShowParts(title, (uint)id, false);
        }
コード例 #3
0
        private void SearchBox_SeasonSelected(string title, long id)
        {
            DownloadOption downloadOption = ShowDownloadOption();

            downloadOption.ShowParts(title, (uint)id, true);
        }
コード例 #4
0
        private void SearchBox_SeasonSelected(string title, object id, string type)
        {
            DownloadOption downloadOption = ShowDownloadOption();

            downloadOption.ShowParts(title, (uint)(long)id, true);
        }