Click here to Skip to main content
15,890,690 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a code like this

VB
Label30.Visible = Not Label30.Visible
Label31.Visible = Not Label31.Visible

i want is to blink them together with the same time and tick
Posted
Comments
JayantaChatterjee 28-Jun-14 23:03pm    
Put your code in time_tick event..

1 solution

Drag a timer control from your toolbox and double click on it and type this code :

VB
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        Label1.Visible = Not Label1.Visible
        Label2.Visible = Not Label2.Visible

    End Sub

Make sure that your timer Enabled property is true.
I hope this will work.. :-)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900