PictureBox BackgroundImage属性C#
答
图片框兼得Image
和Background Image
物业
设置Background Image
你必须设置pictureBox1.BackgroundImage=your_Image;
和Image
财产pictureBox1.Image=your_Image;
非常感谢。如果我想使用在我的应用程序的资源文件中找到的图像怎么办?我将如何以编程方式访问它? – Smiley 2010-11-07 06:57:23
namespace_name.Properties.Resources.Your_Image; – 2010-11-07 06:59:30