* UIStyle: 修改等待窗体与主题配色一致
This commit is contained in:
parent
017c49a2f7
commit
4fb03a6fcb
Binary file not shown.
Binary file not shown.
@ -112,7 +112,7 @@ namespace Sunny.UI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ReSetDPIScale()
|
public void ResetDPIScale()
|
||||||
{
|
{
|
||||||
IsScaled = false;
|
IsScaled = false;
|
||||||
SetDPIScale();
|
SetDPIScale();
|
||||||
|
@ -55,6 +55,7 @@ namespace Sunny.UI
|
|||||||
thread = new Thread(delegate ()
|
thread = new Thread(delegate ()
|
||||||
{
|
{
|
||||||
form = new UIWaitForm(desc);
|
form = new UIWaitForm(desc);
|
||||||
|
form.Render();
|
||||||
if (IsRun) Application.Run(form);
|
if (IsRun) Application.Run(form);
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -139,6 +140,7 @@ namespace Sunny.UI
|
|||||||
thread = new Thread(delegate ()
|
thread = new Thread(delegate ()
|
||||||
{
|
{
|
||||||
form = new UIStatusForm(max, desc, decimalCount);
|
form = new UIStatusForm(max, desc, decimalCount);
|
||||||
|
form.Render();
|
||||||
form.VisibleChanged += WaitForm_VisibleChanged;
|
form.VisibleChanged += WaitForm_VisibleChanged;
|
||||||
Application.Run(form);
|
Application.Run(form);
|
||||||
IsRun = false;
|
IsRun = false;
|
||||||
|
@ -105,7 +105,7 @@ namespace Sunny.UI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ReSetDPIScale()
|
public void ResetDPIScale()
|
||||||
{
|
{
|
||||||
IsScaled = false;
|
IsScaled = false;
|
||||||
SetDPIScale();
|
SetDPIScale();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user