Aidin Aidin - 7 months ago 40
C# Question

Taskbar Issue for My App

When I click on my Winforms app then its forms are opened in separate section in Taskbar with default C# icon. How can I solve this issue?

enter image description here


At first I open my login form as bellow:

Application.Run(new frmLogin());

Then I open my main form from the login form as bellow:

frmMain frmMain = new frmMain();


This sounds like a system problem. Here are 3 solutions:

  1. Restart your computer.

  2. Restart explorer.exe or File Explorer. How to do it.

  3. Unpin then re-pin your program on the taskbar.