C#中怎样用代码动态设置Picturebox的SizeMode属性,该如何解决
C#中怎样用代码动态设置Picturebox的SizeMode属性
C#中怎样用代码动态设置Picturebox的SizeMode属性?
thanks!
------解决方案--------------------
是如下的代码吧:
PictureBox box = new PictureBox();
box.SizeMode = PictureBoxSizeMode.AutoSize;
C#中怎样用代码动态设置Picturebox的SizeMode属性?
thanks!
------解决方案--------------------
是如下的代码吧:
PictureBox box = new PictureBox();
box.SizeMode = PictureBoxSizeMode.AutoSize;