How can I display elements of my list with specific delay using C#? -
i have list called list-3 consists of bitmap images elements. question how can display each of elements (images) picturebox one-by-one 10 millisecond delay.
i'm not going go deep implementation details, timer.tick
event has 3 delegates subscribed it, 1 each bitmap
, , they'll run 1 after another, every 10 milliseconds
what want switch new bitmap
ever 10 milliseconds. in order that, need 1 timer event, goes next image.
timer.tick += delegate { ... picturebox3.image = list(counter); counter = (counter+1)%3; ... };// end of timer
Comments
Post a Comment