Better display and hiding of process queue

This commit is contained in:
Michael Bucari-Tovo 2022-06-12 16:29:06 -06:00
parent ffe0f0730d
commit 2341f6ea3b
3 changed files with 4 additions and 1 deletions

View file

@ -20,7 +20,7 @@ namespace LibationWinForms
// Before calling anything else, including subscribing to events, ensure database exists. If we wait and let it happen lazily, race conditions and errors are likely during new installs
using var _ = DbContexts.GetContext();
this.Load += (_, _) => this.RestoreSizeAndLocation(Configuration.Instance);
this.RestoreSizeAndLocation(Configuration.Instance);
this.FormClosing += (_, _) => this.SaveSizeAndLocation(Configuration.Instance);
// this looks like a perfect opportunity to refactor per below.