예제 #1
0
 private void FavoriteNovelCardToPanel(Cards.FavoriteNovelCard favoriteNovelCard)
 {
     if (this.flowLayoutPanel1.InvokeRequired)
     {
         this.flowLayoutPanel1.Invoke(new MethodInvoker(delegate()
         {
             flowLayoutPanel1.Controls.Add(favoriteNovelCard);
         }));
     }
     else
     {
         flowLayoutPanel1.Controls.Add(favoriteNovelCard);
     }
 }
예제 #2
0
 private Cards.FavoriteNovelCard AddFavoriteNovelCardValue(string title, string novellink, string imglink, int sourcesite)
 {
     Cards.FavoriteNovelCard nfc = new Cards.FavoriteNovelCard(sourcesite);
     return(nfc.SendFavoriteNovelCardData(title, novellink, imglink));
 }