Random r = new Random(); int i = r.Next(il.Images.Count); p.Image = il.Images[i];
用 Random 随机产生一个范围内的数n按一下按钮,读取一次第n个图片就哦了