public IChapter(IManga manga, String selected) { manga_name = manga.getName().Trim(); foreach (string[] i in manga.get_chapters()) { if (i[0] == "2") { nb_tome = Int32.Parse(i[1]); name_tome = i[2]; } if (i[0] == "1" && i[2] == selected) { Debug.WriteLine(nb_tome.ToString() + " - " + name_tome); Debug.WriteLine(i[0] + " - " + i[1] + " - " + i[2]); link = i[1]; description = i[2]; if (name_tome != "") { path = "Tome " + nb_tome + " - " + name_tome; } else { path = "Tome " + nb_tome; } return; } } }
private void listSites_SelectionChanged(object sender, SelectionChangedEventArgs e) { int select = listSites.SelectedIndex; selectedSite = select; if (select < 0) { return; } switch (select) { case 0: all_mangas = new Japscan(); break; case 1: all_mangas = new MangaReader(); break; case 2: all_mangas = new MangaHere(); break; case 3: all_mangas = new ReadManga(); break; } all_mangas.load_all_mangas(); GridSites.Visibility = Visibility.Hidden; GridMangas.Visibility = Visibility.Visible; last_page = 2; refreshListManga(""); }
public ChapReadManga(IManga manga, String selected) : base(manga, selected) { }
public ChapMangaHere(IManga manga, String selected) : base(manga, selected) { }
public ChapMangaReader(IManga manga, String selected) : base(manga, selected) { }
public ChapJapscan(IManga manga, String selected) : base(manga, selected) { }