Our application does not appear in the taskbar on startup, because it is a WPF window displayed over ShowDialog
but not using System.Windows.Application
. Is it possible to show the app in the taskbar?
var spl = new SplashScreen(); // Nothing in the taskbar, but it should...
spl.ShowDialog();
// initial application
spl.Close();
var app = new App();
app.Run(mainWindow); // Now we have some thing in the taskbar
Thank you very much.
var sp1 = SplashScreen();
sp1.ShowInTaskbar = true;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.