mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 04:37:30 +02:00
update msg window
This commit is contained in:
@@ -69,14 +69,16 @@ namespace WinAlfred
|
||||
}
|
||||
imgIco.Source = new BitmapImage(new Uri(icopath));
|
||||
Show();
|
||||
new Timer(o =>
|
||||
{
|
||||
if (!closing)
|
||||
{
|
||||
closing = true;
|
||||
Dispatcher.Invoke(new Action(fadeOutStoryboard.Begin));
|
||||
}
|
||||
}, null, TimeSpan.FromSeconds(3), TimeSpan.FromMilliseconds(-1));
|
||||
|
||||
Dispatcher.DelayInvoke("ShowMsg",
|
||||
o =>
|
||||
{
|
||||
if (!closing)
|
||||
{
|
||||
closing = true;
|
||||
Dispatcher.Invoke(new Action(fadeOutStoryboard.Begin));
|
||||
}
|
||||
}, TimeSpan.FromSeconds(3));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user