I am new to VB.NET and I need help in using timer control. Here is
the scenario. I have 3 labels (label 1, label2, label 3), and a start
button, all vertically aligned on the form.
Using a timer control with interval value of 3000, i.e 3 second, I
want to accomplish the following:
- Initially, only START button is visible to the user, i.e the 3
labels are set to be invisible.
- When click on START button, the button disappear and label 3
appears.
- After 3 seconds, the label 3 disappear and label 2 appears.
- After 3 seconds, the label 2 disappear and label 1 appears.
- After 3 seconds, the label 1 disappear and the form closes.
I am setting timer control's Enable property to "True" in Design
time.
I am setting timer control's Interval property value to 3000 in
Design Time.
I assume that I do all the coding in START button's click event,
starting with making START button invisible when a user clicks it.
Can anyone help me code what I want to accomplish?