How to assign Application Icon that will display in Task bar?

Posted by viky on Stack Overflow See other posts from Stack Overflow or by viky
Published on 2010-06-07T14:38:27Z Indexed on 2010/06/07 14:42 UTC
Read the original article Hit count: 237

Filed under:
|
|
|

I am working on a Wpf desktop application, whenever i run my application it shows me a window and associated tab in the task bar(Normal windows feature). My problem is that the tab is using window's icon for unknown file-type, I tried with Icon property of Window, Icon gets assigned but still problem is when I run application, task bar Tab initially displays window's icon for unknown file-type and when window-load completes it changes to the Icon assigned. I want Icon there from beginning. Any help?

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf