private void AuthorDetails(object obj)
 {
     _authorDetailsWindow.ViewModel.Author = SelectedAuthor;
     //if (_authorDetailsWindow.Visibility == Visibility.Hidden)
     //{
     //    _authorDetailsWindow.Visibility = Visibility.Visible;
     //}
     //else
     //{
     //    _authorDetailsWindow.Visibility = Visibility.Visible;
     //}
     _authorDetailsWindow.ShowDialog();
 }
Ejemplo n.º 2
0
        private void AuthorAction()
        {
            AuthorDetailsWindow authorDetails = new AuthorDetailsWindow(_books);

            authorDetails.ShowDialog();
        }