Loading Items From Resource Manager
Ok, so today I found something quite simple but worth knowing. Lets say you have an PictureBox and you want to use an image in your resource manager.
pictureBox1.Image = global::desktidy.Properties.Resources.imagenamehere;
you can change imagename here to any item stored in the Resource Manager.
pictureBox1.Image = global::desktidy.Properties.Resources.imagenamehere;
you can change imagename here to any item stored in the Resource Manager.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home