Revert "Changes for dockable process"
This reverts commit a447e88b868a3bd1c2add223a6b137d1f06e4a91.
This commit is contained in:
parent
a447e88b86
commit
6d6434b4d4
@ -36,7 +36,6 @@ namespace LibationWinForms
|
|||||||
|
|
||||||
public partial class ProductsGrid : UserControl
|
public partial class ProductsGrid : UserControl
|
||||||
{
|
{
|
||||||
internal event EventHandler<GridEntry> LiberateClicked;
|
|
||||||
/// <summary>Number of visible rows has changed</summary>
|
/// <summary>Number of visible rows has changed</summary>
|
||||||
public event EventHandler<int> VisibleCountChanged;
|
public event EventHandler<int> VisibleCountChanged;
|
||||||
|
|
||||||
@ -124,7 +123,7 @@ namespace LibationWinForms
|
|||||||
displayWindow.Show(this);
|
displayWindow.Show(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
private async Task Liberate_Click(GridEntry liveGridEntry)
|
private static async Task Liberate_Click(GridEntry liveGridEntry)
|
||||||
{
|
{
|
||||||
var libraryBook = liveGridEntry.LibraryBook;
|
var libraryBook = liveGridEntry.LibraryBook;
|
||||||
|
|
||||||
@ -271,9 +270,6 @@ namespace LibationWinForms
|
|||||||
.Select(row => ((GridEntry)row.DataBoundItem).LibraryBook)
|
.Select(row => ((GridEntry)row.DataBoundItem).LibraryBook)
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
||||||
internal IEnumerable<GridEntry> AllEntries
|
|
||||||
=> bindingList;
|
|
||||||
|
|
||||||
private GridEntry getGridEntry(int rowIndex) => _dataGridView.GetBoundItem<GridEntry>(rowIndex);
|
private GridEntry getGridEntry(int rowIndex) => _dataGridView.GetBoundItem<GridEntry>(rowIndex);
|
||||||
|
|
||||||
#region Column Customizations
|
#region Column Customizations
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user