C#关于pictureBox的自适应图片设置(学习ing)

弥补一下网上的答案多分布

BackgroundImage的自适应设置

	pictureBox(以自己的名称为主).BackgroundImageLayout = ImageLayout.Stretch;

Image的自适应设置

	pictureBox(同上).SizeMode = PictureBoxSizeMode.StretchImage;




感谢你阅读我的文章,感恩!

posted @ 2022-09-14 22:05  晓星晨曦  阅读(165)  评论(0编辑  收藏  举报