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.
我在 C# 的桌面 .net 应用程序中使用 NotifyIcon。我可以更改图标,但不能更改通知文本的背景颜色。我在网上搜索,找不到任何有用的信息,或者如果有的话我跳过了。期待有关此方面的帮助。提前谢谢:)
Afaik 您的通知图标控件使用资源图像来显示图标,没有内置解决方案来更改背景颜色。最简单的解决方案是更改整个图标。或者就像 huMpty duMpty 提到的那样创建自己的控件,这并不容易。
用于alertcontrol(devexpress)自desktopcontrol(telrik)定义通知外观。
alertcontrol(devexpress)
desktopcontrol(telrik)