![]() |
How to use timer control in C#?
Hi,
How to use timer control in C#? Any example please? Thanks |
Re: How to use timer control in C#?
1. Have the timer control in your application or have a variable of type Timer.
2. Assign a event to the Timer tick event. 3. Enable the timer and start when you think you need the event. 4. After sufficient time elapse your function will be called. |
Re: How to use timer control in C#?
I managed before you said above but thanks Shabbir. I did above now how to show current system time on the form at some specific position. Following is some sample of code I have
Code:
public Form1()Code:
private void timer1_Tick(object sender, EventArgs e) |
| All times are GMT +5.5. The time now is 02:48. |