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;
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?