Digital Clock Event Timer
Digital Clock, which also will fire a Time Reached event for 'triggers' that you can set up during design time, runtime, or even from the control itself during run time. This clock has four user options, which can be locked with it's properties. By clicking on the Clock Numbers, you can change the Colors from Red to Blue to Green. Right Clicking on the clock numbers will change it from 12 to 24 hour time. Clicking on the clock's colons will display the 'trigger events' you have set up, and left clicking on the clock's colons will allow you to add/modify/edit the trigger events. Please rate this code!
Original Author: Drew Wutka
The TimeReached event needs at least one time, hour, minute, and second.
DO NOT ASSUME THIS IS MORE EFFICIENT THEN A TIMER CONTROL. It can't be, since it has a timer control in it. It is just an expansion on top of a timer control. In fact, there is no way to get around what a Timer control does, counting clock ticks.
When the TimeReached Event fires, it will return which 'trigger' it is firing for. An easy way to have different code run at different times.
May cause you to stop using the Plain Timer Control. (unless you need to run something every minute or so.)
About this post
Viewed: 77 times
Posted: 9/3/2020 3:45:00 PM
Size: 78,674 bytes
No comments have been added for this post.
You must be logged in to make a comment.