开发者

Animate tray icon while processing

开发者 https://www.devze.com 2022-12-25 03:18 出处:网络
How can I animate the tray icon while the main applicatio开发者_开发知识库n is processing? I already tried the suggestion here, but the icon does not animate during process. I also tried putting the a

How can I animate the tray icon while the main applicatio开发者_开发知识库n is processing? I already tried the suggestion here, but the icon does not animate during process. I also tried putting the animation in a separate thread but still no luck.


There's a very good example of an SystemTrayNotifyIcon with Event Generator over at the CodeProject .

I've looked at this project before but didn't end up using it, due to my artistic inabilities, but the example given does the job quite well.


Take a look at http://www.codeproject.com/KB/shell/IconAnimation.aspx and http://www.c-sharpcorner.com/UploadFile/nkumar/AnimateSysteminCSharp11292005235157PM/AnimateSysteminCSharp.aspx for a more recent example.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号