我有一个嵌入了资源的.ico文件(构建操作设置为资源).我正在尝试创建一个NotifyIcon.我如何参考我的图标?
notifyIcon = new NotifyIcon(); notifyIcon.Icon = ?? // my icon file is called MyIcon.ico and is embedded
wpf resources icons
icons ×1
resources ×1
wpf ×1