I have created a quick demo, where you can see, that in Design mode the picture box always refreshes, when SizeMode = AutoSize.
Nothing can be done anymore. – You can’t rename the picturebox or anything else.
I think this is a bug.
The pictureBox in the sample is set to Dock.Fill and to PictureBoxSizeMode.AutoSize. AutoSize means that the control will change its size to fit the image. Dock.Fill means that the control will resize to fill the parent. The two settings obviously clash and cause the repeated resizing.
You can set SizeMode to anything other than AutoSize. The fix will simply ignore the AutoSize value when docked or anchored.
Please login first to submit.