displaying images
-
How to display images randomly from a file on click of a button in C#.net
-
How to display images randomly from a file on click of a button in C#.net
Well, you need to look at the Random class. Then you can use Directory.GetFiles to get a list of files to randomly select from.
Christian Graus Driven to the arms of OSX by Vista.
-
Well, you need to look at the Random class. Then you can use Directory.GetFiles to get a list of files to randomly select from.
Christian Graus Driven to the arms of OSX by Vista.
Thanks
-
Well, you need to look at the Random class. Then you can use Directory.GetFiles to get a list of files to randomly select from.
Christian Graus Driven to the arms of OSX by Vista.
You forgot to include "
, and using google would probably have given you an answer a lot faster than waiting for someone here to try to figure out what you really want.
""Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
You forgot to include "
, and using google would probably have given you an answer a lot faster than waiting for someone here to try to figure out what you really want.
""Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001using the timer control, u can do this. in the event of the timer , include some code. First, you need to add some images in the imagelist control. Than, in the timer event display a image from the imagelist use the break statement to break the loop . when ever the timer event occurs then the image changes . After the imageslist reaches the last index then make the control value as 0 to repeat the loop
-
using the timer control, u can do this. in the event of the timer , include some code. First, you need to add some images in the imagelist control. Than, in the timer event display a image from the imagelist use the break statement to break the loop . when ever the timer event occurs then the image changes . After the imageslist reaches the last index then make the control value as 0 to repeat the loop
WTF are you talking about?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001