1.在MSDN里面查到的:
Note   Images with translucent or transparent colors are not supported by Windows Forms controls as background images.
好像是说不支持带透明度的图像?但是我直接把一个PictureBox的BackgroundImage设置成一个带透明度的PNG图像,可以正常显示出来啊。2.设置BackgroundImage时候不知道怎样设置?我直接用
BackgroundImage = imageList1.Images[1];
它说“imageList1表示字段,此处应为类”。
这是什么原因?