110,570
社区成员
发帖
与我相关
我的任务
分享
string[] arrTemp =this .textBox1 .Text .Split (',');
int count = arrTemp.Length;
for (int i = 0; i < count; i++)
{
PictureBox pi = new PictureBox();
pi.Width = 100;
pi.Height = 100;
pi.Location = new Point(10*i ,100) ;
pi.Image = Image.FromFile(@"E:\符号\" +arrTemp [i] + ".bmp");
this.Controls.Add(pi);
}