2011-08-25 27 views
0

该代码召回从外部文件中的图标:从资源文件变化将NotifyIcon1从资源

notifyIcon1.Icon = new Icon("notifier.ico"); 

如果可能更改图标?

notifyIcon1.Icon = new Icon(Properties.Resources.ResourceManager.icon2); 

回答

3

Properties.Resources.icon2已经是Icon