예제 #1
0
        private void listBoxMangaChapters_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            SingleManaFox readsmf = new SingleManaFox();

            readsmf = (SingleManaFox)listBoxMangaChapters.SelectedItem;
            //MessageBox.Show(readsmf.name);
            List <string>    mangaReadUrl = new List <string>();
            MangaFoxDownload mfdRead      = new MangaFoxDownload(readsmf);

            mangaReadUrl = mfdRead.readManga();
            readChapter rc = new readChapter(mangaReadUrl);

            rc.Show();
        }
예제 #2
0
        private void downloadChapterOnebyOne()
        {
            int numOfChapters = listBoxMangaChapters.Items.Count - 1;

            int xyy = 0;

            for (int i = 0; i <= numOfChapters; i++)
            {
                UpdateProgress(xyy);
                xyy++;
                SingleManaFox newSmf = new SingleManaFox();
                newSmf = (SingleManaFox)listBoxMangaChapters.Items.GetItemAt(i);
                MangaFoxDownload mfd = new MangaFoxDownload(newSmf, folderPath);
                countUp();
            }

            MessageBox.Show("Download completed");
        }