How do I prevent a randomly generated picture from appearing twice in a row? (.Net) : Hi I started programming a couple of weeks ago and now I have a project in school where I want to make a program. I have a picturebox ("piturebox1") and an imagelist ("imagelist1") with four pictures. I want these to change randomly every 2 seconds and I don't want the same picture to appear twice in a row. 

Is there some helpful person who would want to help me with this?
/Marcus from Sweden
