tags:

views:

63

answers:

2

Is there a way to have this behaviour with WinForms?

A: 

Simply set the Form.Icon property!

gehho
But then i have same icon in title bar and ALT-TAB switch window...
Đorđe
Oh ok, misunderstood your question. I thought you meant a different icon than the default icon.But, I think, danbystrom has your solution below.
gehho
+1  A: 

The icon for the form is the Form.Icon property, The icon for the application (and Alt-Tab) is set in Visual Studio under Properties, Application, Resources.

danbystrom
Yes, but I need to change icon in alt-tab during run time.
Đorđe
Oh sorry - misunderstood. I've never had to do that.. :-(
danbystrom