更改了进度提示框,不在任务栏显示,并置顶
This commit is contained in:
parent
5ed6aaf7a6
commit
8306e3ffcb
@ -55,6 +55,8 @@ namespace Sunny.UI
|
|||||||
thread = new Thread(delegate ()
|
thread = new Thread(delegate ()
|
||||||
{
|
{
|
||||||
form = new UIWaitForm(desc);
|
form = new UIWaitForm(desc);
|
||||||
|
form.ShowInTaskbar = false;
|
||||||
|
form.TopMost = true;
|
||||||
form.Render();
|
form.Render();
|
||||||
if (IsRun) Application.Run(form);
|
if (IsRun) Application.Run(form);
|
||||||
});
|
});
|
||||||
@ -140,6 +142,8 @@ namespace Sunny.UI
|
|||||||
thread = new Thread(delegate ()
|
thread = new Thread(delegate ()
|
||||||
{
|
{
|
||||||
form = new UIStatusForm(max, desc, decimalCount);
|
form = new UIStatusForm(max, desc, decimalCount);
|
||||||
|
form.ShowInTaskbar = false;
|
||||||
|
form.TopMost = true;
|
||||||
form.Render();
|
form.Render();
|
||||||
form.VisibleChanged += WaitForm_VisibleChanged;
|
form.VisibleChanged += WaitForm_VisibleChanged;
|
||||||
Application.Run(form);
|
Application.Run(form);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user