Tech Tutorials Database
GeekArticles Microsoft C#

C# Timer Demo

Category: C#
Comments (0)

By Prasad H. This is an example of a timer in C#. It gives you an understand of time / clock and time conversion functionality. Some Tips using Timer: 1.Timer_Event will fire only after the Timer.Start() method is called. 2.Interval property is used to set the interval between Timer_Event. 3.Timer can be stopped either by disabling the Timer or calling the Stop() method. using System; using System.Windows.Forms; using System.Drawing; class TimerDemo:Form { Timer Clock; Label lbTime=new...n


Sponsored Links

Read Next: Indexers In C#