コード例 #1
0
        private void SearchTabFictionSearchComplete(object sender, SearchTabViewModel.SearchCompleteEventArgs <FictionBook> e)
        {
            FictionSearchResultsTabViewModel fictionSearchResultsTabViewModel =
                new FictionSearchResultsTabViewModel(mainModel, CurrentWindowContext, e.SearchQuery, e.SearchResult);

            fictionSearchResultsTabViewModel.OpenFictionDetailsRequested += OpenFictionDetailsRequested;
            ShowSearchResults(sender as SearchTabViewModel, fictionSearchResultsTabViewModel);
        }