WinForm background image and picture position

Set the background image : BackgroundImage property to select the corresponding picture on it.

Background image varies with the form : BackgroundImageLayout property value is set to Stretch.

Form Place Picture : PictureBox control; background PictureBox control is transparent: the value of Transparent BackColor.

Let the image size for your PictureBox control size : SizeMode property value PictureBox to Zoom.

The location and size of the control varies with the size of the form : Design view to place the controls again you need, Dock property to None, Anchor attribute to None, then the position of the control has been in the form of the relative position.

Guess you like

Origin www.cnblogs.com/bkyqtr/p/11357881.html