private void btnStart_Click(object sender, RoutedEventArgs e) { this.Ready += MainWindow_Ready; helper = new MainHelper(); helper.Navigate += Helper_Navigate; helper.loadPages(wb.BookList[index]); ProgramStatics.ChapterAddress = wb.BookList[index].BookAddress; }
private void btnStart_Click(object sender, RoutedEventArgs e) { this.Ready += MainWindow_Ready; helper = new MainHelper(); helper.Navigate += Helper_Navigate; helper.loadPages(wb.BookList[index]); Logging.Logging.LogMessage("", Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + "\\Logs", "BookScraper_LoopStart", " BookID" + this.helper.CurrentBook.BookID + "\r\n\r\n Book Next Chapter Address" + this.helper.CurrentBook.NextChapterAddress + "\r\n\r\n Book Previous Chapter Address: " + this.helper.CurrentBook.PreviousChapterAddress + "\r\n\r\n Book LastChapterAddress: " + this.helper.CurrentBook.BookLastChapterAddress + "\r\n\r\n Book SourceID: " + this.helper.CurrentBook.SourceID + "\r\n\r\n Chapter: " + this.helper.Chapter); }