Stream s = Assembly.GetExecutingAssembly().GetManifestResourceStream("MySolution.Images.FastForward.gif");
PictureBox1.Image = Image.FromStream(s);
Now your picture has been pulled from the embedded solution resource file and is being used in your picture box. Remember that any resource that you want to use this way must have the Compile Action property set to "Embedded Resource"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.