예제 #1
0
파일: IO.cs 프로젝트: GGG-KILLER/Kemori
 /// <summary>
 /// Returns a path for a provided <see cref="MangaChapter" />
 /// </summary>
 /// <param name="Chapter">
 /// <see cref="MangaChapter" /> to return path for
 /// </param>
 /// <returns></returns>
 public String PathForChapter(MangaChapter Chapter)
 {
     return(Path.Combine(
                PathForManga(Chapter.Manga.ToString( )),
                SafeFolderName(Chapter.ToString( ))
                ));
 }
예제 #2
0
        public void Add(MangaChapter Item)
        {
            var lvi = this.Items.Add(Item.ToString( ));

            lvi.ForeColor = Item.IsDownloaded ? System.Drawing.Color.LightBlue : System.Drawing.Color.Black;

            this.ChapterList.Add(Item, lvi);
        }