private void RemoveBook() { var view = new RemoveBookView(); view.ViewModel.SelectedBook = SelectedBook; view.ViewModel.BookChanged += i_BookChanged; view.ShowDialog(); }