I have assigned an icon to my application from the Properties window in Solution Explorer in Visual Studio; the application’s icon changed successfully but the title bar is still showing the default icon:

I’ve rebuilt my application but it still displays the default icon. What am I doing wrong?
Because forms have a different icaon configuration than the application. Set the icon on the form, not ONLY on the application.