コード例 #1
0
        private void UpdateDownloadList(YoutubeModel aModel, string aLink)
        {
            ucDownloadInfoBox downInfoBox = new ucDownloadInfoBox();

            downInfoBox.Width = this.flpDownloadList.Width - 20;
            downInfoBox.SetDownloadInfo(aModel, aLink);
            this.flpDownloadList.Controls.Add(downInfoBox);

            //Reset the textbox where the link was typed in
            this.tbxYoutubeUrl.Text = string.Empty;
        }