VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Time and Date just with click on the label.

by M. Akram (7 Submissions)
Category: Miscellaneous
Compatability: VB.NET
Difficulty: Unknown Difficulty
Originally Published: Wed 9th May 2007
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Time and Date just with click on the label.

Rate Time and Date just with click on the label.



        'Task: This Shows Time And Date On a Form Using a Label And Timer
        'Declarations
        'Code: 
        'place a timer and label on a form

        'for the timers event double click it and type in
        Label1.Text = Now
        'set the timer to 100 
    End Sub
    Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
        Label1.Text = Now
    End Sub
End Class

Download this snippet    Add to My Saved Code

Time and Date just with click on the label. Comments

No comments have been posted about Time and Date just with click on the label.. Why not be the first to post a comment about Time and Date just with click on the label..

Post your comment

Subject:
Message:
0/1000 characters