标签:
顺便一提关键字:stretch [stret?] vt. 伸展,张开
//控制pictureBox图片的显示格式 this.picClose.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; //这个才是控制跟随DPI自适应的 this.picClose.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
如果是在LayoutPanel中,可以尝试 AutoSize = true;
标签:
原文地址:http://www.cnblogs.com/tommy-huang/p/4269410.html