Replace application icon after application launch

Is there a way to change the application icon after it starts? I want to change the icon to reflect the notification.

thanks

edit: Wpf solution based on Fredrick Murks answer.

Uri iconUri = new Uri("icon1.ico", UriKind.RelativeOrAbsolute); this.Icon = BitmapFrame.Create(iconUri); 
+4
source share
1 answer

You can change the icon of the main form:

 this.Icon = new Icon(@"<path to icon on disk"); 
+4
source

All Articles