1
votes

In my application, when you pin the installed app to the Taskbar from the Start Menu, and then launch the application from the pinned icon, the splash screen shows as if it is running from the pinned icon but once the main screen shows a new icon is displayed in the taskbar.

It is as if the main window is not tied to the same app as the splash.

If I launch the app from the Start Menu and then pin it from the running icon in the taskbar, it works fine (because at the time that I pinned it, the main window was open).

How do I fix this?

1

1 Answers

1
votes

Disable the Splash Screen's Form from showing in the taskbar in the first place?

// before displaying the form
splashScreenForm.ShowInTaskbar = false;
splashScreenForm.Show();