This commit is contained in:
Michael Bucari-Tovo 2022-06-10 20:45:10 -06:00
parent 4111d5fa48
commit f8f5eac109
6 changed files with 117 additions and 95 deletions

View file

@ -23,7 +23,7 @@ namespace LibationWinForms.GridView
public event LibraryBookEntryClickedEventHandler DetailsClicked;
public event GridEntryRectangleClickedEventHandler DescriptionClicked;
public new event EventHandler<ScrollEventArgs> Scroll;
public event GridEntryClickedEventHandler RemovableCountChanged;
public event EventHandler RemovableCountChanged;
private GridEntryBindingList bindingList;
internal IEnumerable<LibraryBook> GetVisibleBooks()
@ -88,7 +88,7 @@ namespace LibationWinForms.GridView
if (e.ColumnIndex == removeGVColumn.Index)
{
gridEntryDataGridView.CommitEdit(DataGridViewDataErrorContexts.Commit);
RemovableCountChanged?.Invoke(entry);
RemovableCountChanged?.Invoke(this, EventArgs.Empty);
}
}