2011-08-25 51 views
0

該代碼召回從外部文件中的圖標:從資源文件變化將NotifyIcon1從資源

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

如果可能更改圖標?

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

回答

3

Properties.Resources.icon2已經是Icon