Embedded in the resource file,
You can view the code that VS automatically generates, and you can see that the source of the picture is stored in resources.
1. The Modifiers property of picturebox1 of the base class should be set to protected or public
2.Can be in subclass picturebox1.Image = Image.FromFile (imageFileName);