public WebtoonSearchListChild(WebtoonSearchResult info) { InitializeComponent( ); this.info = info; webtoonTitleLabel.Text = info.title; webtoonAuthorLabel.Text = info.author; webtoonDescriptionLabel.Text = info.description; webtoonUploadLabel.Text = "마지막 업로드 일 : " + info.uploadDate; webtoonNumLabel.Text = "총 " + info.num + "화"; webtoonGenreLabel.Text = info.genre + " 장르"; if (info.adultWebtoon) { adultIcon.Visible = true; } else { adultIcon.Visible = false; } try { webtoonThumbnailImage.Load(info.thumbnailURL); } catch (Exception) { webtoonThumbnailImage.Image = null; } }
private void Webtoon_Selected(WebtoonSearchResult info) { (( Main )this.Owner).DownloadBegin(info.url); this.Close( ); }