protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); BookViewModel bookViewModel = new BookViewModel(); }
private void OpenBook(LibraryItemViewModel book) { BookViewModel bookViewModel = new BookViewModel(book.Id); IWindowContext bookWindowContext = windowManager.CreateWindow(bookViewModel); bookWindowContext.ShowDialog(); }