I need to embed 4 small 16×16 images in a usercontrol, without imagelist, resource file etc. The reason is because i would be using this usercontrols in different projets, and i just want to include the user control without much ado.
Is there anyway i can do this in code?
Sharing usercontrols as dll is the way to go, but if you prefer to include the usercontrol as source instead, you may include the images … “hardcoded”:
(this is VB.Net, feel free to adapt to your language of choice)