i have put an Icon named "MyIcon" in my winform application ressources, by using the project proporty designer. Now i will put it in the form icon propoerty at the run time using code :
using System.Resources;
[...]
ResourceManager rm = new ResourceManager("MyNamespace", this.GetType().Assembly);
MyForm.Icon = (Icon)rm.GetObject("MyIcon");
1 commentaire:
Hey Ouadie! What's up?! I see ur blog is getting more and more interesting... Thanks for the info man! Always a pleasure on vacation :)
Enregistrer un commentaire