button Random for picturebox c#
private void timer1_Tick(object sender, EventArgs e)
{
if(count<7)
{
count++;
}
else if (count > 0 || count == 7)
{
count--;
}
pictureBox1.Image = imageList1.Images[count];
}
//with out openfiledialog