Bloom.CollectionTab.LibraryListView.OnBookSelectionChanged C# (CSharp) Method

OnBookSelectionChanged() private method

private OnBookSelectionChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void OnBookSelectionChanged(object sender, EventArgs e)
        {
            if (sender == null) return;

            var selection = (BookSelection)sender;
            if ((selection.CurrentSelection != null) && (selection.CurrentSelection.BookInfo != null))
            {
                HighlightBookButtonAndShowContextMenuButton(selection.CurrentSelection.BookInfo);
            }
        }