Set the Dock property of the PictureBox to FILL. Set the Anchor property of the Panel to Top, Left, Bottom, Right. When you Maximize the form, the Panel and PictureBox will expand with the form. If the Panel and PictureBox are the only 2 controls on the form, you could set the Dock property of the Panel to FILL and not worry about its Anchor property.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货