* UIStyle: 修改等待窗体与主题配色一致

This commit is contained in:
Sunny 2022-04-03 12:20:11 +08:00
parent 017c49a2f7
commit 4fb03a6fcb
5 changed files with 4 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -112,7 +112,7 @@ namespace Sunny.UI
}
}
public void ReSetDPIScale()
public void ResetDPIScale()
{
IsScaled = false;
SetDPIScale();

View File

@ -55,6 +55,7 @@ namespace Sunny.UI
thread = new Thread(delegate ()
{
form = new UIWaitForm(desc);
form.Render();
if (IsRun) Application.Run(form);
});
@ -139,6 +140,7 @@ namespace Sunny.UI
thread = new Thread(delegate ()
{
form = new UIStatusForm(max, desc, decimalCount);
form.Render();
form.VisibleChanged += WaitForm_VisibleChanged;
Application.Run(form);
IsRun = false;

View File

@ -105,7 +105,7 @@ namespace Sunny.UI
}
}
public void ReSetDPIScale()
public void ResetDPIScale()
{
IsScaled = false;
SetDPIScale();