Exemple #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);
     }
 }
Exemple #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));
 }