在pictureBox1控件上下有一个groupbox控件,里面有label控件,设置如下:
GroupBox1.Dock = DockStyle.Top
GroupBox2.Dock = DockStyle.Bottom
PictureBox1.Dock = DockStyle.Fill
Label1.Dock = DockStyle.Fill
Label1.AutoSize = False
Label1.TextAlign = ContentAlignment.BottomCenter