Question loading image on a form

blah

New member
Joined
Apr 13, 2012
Messages
1
Programming Experience
Beginner
i want to load 2 images on a form thats already has an image on it.the 1st image will only appear after 5 seconds and will become invisible after some time. Only when the 1st image dissapear will the 2nd image appear and stay on the screen for 5 seconds...anyone to help me with the coding as i am a beginner....
 
Check out the Timer component, you can find it in Toolbox.
 
First up, please don't create multiple threads for the same topic. One thread per topic and one topic per thread. If you think that you've posted in the wrong forum then notify the mods using the Report Post icon and we can move your existing thread.

As for the question, you will want to add a Timer to your form for that. Set its Interval property and Start it and it will raise its Tick event intermittently. You can handle the Tick event and do your work. To do different things each Tick you will need to store a state in one or more variables, e.g. a step number in an Integer that you increment each time. Start out just playing with the Timer to see what it can do. Also make sure that you read the appropriate MSDN documentation. Once you are comfortable with it, then you can bend it to your will for this specific task.
 
Back
Top