C# controls are placed at the top, bottom, hidden, and displayed

Controls are placed at the top and bottom

pictureBox1.BringToFront();//将控件放置所有控件最前端  
pictureBox1.SendToBack();//将控件放置所有控件最底端 

Control hide and show

pictureBox1.Visible = true;//显示
pictureBox1.Visible = false;//隐藏

Guess you like

Origin blog.csdn.net/cashmood/article/details/103777011