I added a minimize to tray function, to do that i need to assign an icon for the tray, the problem is the only way i can do that is this
Icon ico = new Icon( "calculator.ico"); appIcon.Icon = ico;[/CODE]
witch means that calculator.ico should be in the same folder as the program. Now i have added calculator.ico to the program resources but i dont know to assign it to the variable ico, could someone help me plz?
Question
Darko3d
I added a minimize to tray function, to do that i need to assign an icon for the tray, the problem is the only way i can do that is this
witch means that calculator.ico should be in the same folder as the program. Now i have added calculator.ico to the program resources but i dont know to assign it to the variable ico, could someone help me plz?
Link to comment
https://www.neowin.net/forum/topic/869632-loading-icon-from-resources/Share on other sites
3 answers to this question
Recommended Posts