this.groupBox1.Controls.Add(pb1);
this.groupBox1.Controls.Add(pb2);
this.groupBox1.Controls.Add(pb3);
this.groupBox1.Controls.Add(pb4);
this.groupBox1.Controls.Add(pb5);
this.groupBox1.Controls.Add(pb6);
this.groupBox1.Controls.Add(pb7);
this.groupBox1.Controls.Add(pb8);
this.groupBox1.Controls.Add(pb9);
this.groupBox1.Controls.Add(pb10);
foreach (Control item in this.groupBox1.Controls)
{
if (item is PictureBox)
{
PictureBox pb = item as PictureBox;
pb.Image = null;
}
}