More useful logging
This commit is contained in:
parent
0ff8da2cf0
commit
c9e850515e
5 changed files with 22 additions and 7 deletions
|
|
@ -14,6 +14,20 @@ namespace LibationWinForms
|
|||
{
|
||||
productsGrid.LiberateClicked += (_, lb) => processBookQueue1.AddDownloadDecrypt(lb);
|
||||
processBookQueue1.popoutBtn.Click += ProcessBookQueue1_PopOut;
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
Task.Delay(3000).Wait();
|
||||
var lb = ApplicationServices.DbContexts.GetLibrary_Flat_NoTracking().Select(lb => lb.Book).ToList();
|
||||
|
||||
foreach (var b in lb)
|
||||
{
|
||||
b.UserDefinedItem.BookStatus = DataLayer.LiberatedStatus.NotLiberated;
|
||||
}
|
||||
LibraryCommands.UpdateUserDefinedItem(lb);
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
int WidthChange = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue