suspend main window draw during read all

This commit is contained in:
Xjph 2024-01-22 08:59:04 -03:30
commit c5f863c098

View file

@ -231,7 +231,9 @@ namespace Observatory.UI
ThemeManager.GetInstance.RegisterControl(readAllDialogue);
readAllDialogue.StartPosition = FormStartPosition.Manual;
readAllDialogue.Location = Point.Add(Location, new Size(100, 100));
SuspendDrawing(this);
readAllDialogue.ShowDialog();
ResumeDrawing(this);
}
private void PopupNotificationLabel_Click(object _, EventArgs e)