private async void CommandBinding_PageUp_Executed(object sender, ExecutedRoutedEventArgs e) { ChapIndex--; _chapid = bookdir.Volumelists[VolumeIndex].Chapterlist[ChapIndex].ChapId; await ReLoad(); ChatUserControl.ScrollToHome(); }
private async void CommandBinding_OpenDirDialog_Executed(object sender, ExecutedRoutedEventArgs e) { DirChoosePage dialog = new DirChoosePage(bookdir, _volumeid, _chapid); NavigationService.Navigate(dialog); await ReLoad(); ChatUserControl.ScrollToHome(); }