Exemplo n.º 1
0
 private void _pageReader_CloseReaderPage()
 {
     _pageReader.CloseReaderPage -= _pageReader_CloseReaderPage;
     _pageReader = null;
     _readerPage = null;
     CurrentCategoryViewModel = _fanFicsPage;
 }
Exemplo n.º 2
0
        private UserControl InitializeReadingPage(FullStoryData fanFicStory)
        {
            _pageReader = new ReaderPageViewModel(fanFicStory.Text);
            _pageReader.CloseReaderPage += _pageReader_CloseReaderPage;
            _readerPage = new ReaderPage(_pageReader);

            return(_readerPage);
        }