Merged popout with main brainch.

This commit is contained in:
Michael Bucari-Tovo 2022-05-12 10:52:55 -06:00
parent 255e26435c
commit b8abed37c2
5 changed files with 468 additions and 398 deletions

View file

@ -19,12 +19,11 @@ namespace LibationWinForms
private readonly LogMe Logger;
private readonly object lockObject = new();
public event EventHandler PopOut;
public Task QueueRunner { get; private set; }
public bool Running => !QueueRunner?.IsCompleted ?? false;
public ToolStripButton popoutBtn = new ToolStripButton();
public ToolStripButton popoutBtn = new();
public ProcessBookQueue()
{
@ -37,11 +36,10 @@ namespace LibationWinForms
this.popoutBtn.Text = "Pop Out";
this.popoutBtn.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.popoutBtn.Alignment = ToolStripItemAlignment.Right;
popoutBtn.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
this.popoutBtn.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
statusStrip1.Items.Add(popoutBtn);
}
public async Task AddDownloadDecrypt(IEnumerable<GridEntry> entries)
{
foreach (var entry in entries)