mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-10-25 06:59:08 -04:00
Revert "Revert "Changes for dockable process""
This reverts commit 6d6434b4d4.
This commit is contained in:
1 parent
c53b9eabd6
commit
71b8bca86d
1 file changed
+5
-1
@@ -36,6 +36,7 @@ namespace LibationWinForms
|
||||
|
||||
public partial class ProductsGrid : UserControl
|
||||
{
|
||||
internal event EventHandler<GridEntry> LiberateClicked;
|
||||
/// <summary>Number of visible rows has changed</summary>
|
||||
public event EventHandler<int> VisibleCountChanged;
|
||||
|
||||
@@ -123,7 +124,7 @@ namespace LibationWinForms
|
||||
displayWindow.Show(this);
|
||||
}
|
||||
|
||||
private static async Task Liberate_Click(GridEntry liveGridEntry)
|
||||
private async Task Liberate_Click(GridEntry liveGridEntry)
|
||||
{
|
||||
var libraryBook = liveGridEntry.LibraryBook;
|
||||
|
||||
@@ -270,6 +271,9 @@ namespace LibationWinForms
|
||||
.Select(row => ((GridEntry)row.DataBoundItem).LibraryBook)
|
||||
.ToList();
|
||||
|
||||
internal IEnumerable<GridEntry> AllEntries
|
||||
=> bindingList;
|
||||
|
||||
private GridEntry getGridEntry(int rowIndex) => _dataGridView.GetBoundItem<GridEntry>(rowIndex);
|
||||
|
||||
#region Column Customizations
|
||||
|
||||
Reference in new issue
Block a user