Wednesday, July 14, 2010

Load Picture from Resource in C#

This code segment lets you load a picture from a resource.  You can use this for background pictures or whatever image you want loaded. This is good when you dynamically change the pictures.

pictureBox1.Image = Properties.Resources.[image name];

No comments:

Post a Comment