Category / Section
How to Freeze / Unfreeze Time in Digital Frame of Clock Control?
1 min read
The Clock Control has two frames.
- Analog Frame
- Digital Frame
This control supports to Freeze / Unfreeze Time updates and it can be done by using its property named StopTimer in both Analog and Digital Frame.
The following Code sample demonstrates the same.
C#
//To Freeze the time in Clock this.clock1.StopTimer = true; //To unfreeze time in Clock this.clock1.StopTimer = false;
VB
'To Freeze the time in Clock Me.clock1.StopTimer = True 'To unfreeze time in Clock Me.clock1.StopTimer = False
Screenshot
Figure 1: Freeze Time
Figure 2: Unfreeze Time
Sample Links:
C#: Clock_Freeze/Unfreeze_Time
VB: Clock_Freeze/Unfreeze_TimeVB