Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果发生某个事件,我想让我的程序托盘图标改变颜色。我可以设置我的代码以在它运行时更改托盘图标吗?
只需将NotifyIcon.Icon属性设置为新图标即可更改它。