suspend main window draw during read all
This commit is contained in:
parent
2e3cfc8f6b
commit
5257527c51
1 changed files with 2 additions and 0 deletions
|
|
@ -225,7 +225,9 @@ namespace Observatory.UI
|
||||||
ThemeManager.GetInstance.RegisterControl(readAllDialogue);
|
ThemeManager.GetInstance.RegisterControl(readAllDialogue);
|
||||||
readAllDialogue.StartPosition = FormStartPosition.Manual;
|
readAllDialogue.StartPosition = FormStartPosition.Manual;
|
||||||
readAllDialogue.Location = Point.Add(Location, new Size(100, 100));
|
readAllDialogue.Location = Point.Add(Location, new Size(100, 100));
|
||||||
|
SuspendDrawing(this);
|
||||||
readAllDialogue.ShowDialog();
|
readAllDialogue.ShowDialog();
|
||||||
|
ResumeDrawing(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void PopupNotificationLabel_Click(object _, EventArgs e)
|
private void PopupNotificationLabel_Click(object _, EventArgs e)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue