foreach(Control ctrl in panel.Controls){PictureBox pb=(PictureBox)ctrl;。。。。。}
FindControl(id)就可以了
buzd