المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Timer Control Not working in proper Interval + Sourabh Das



C# Programming
11-14-2009, 04:30 AM
Hi Guys,
I have dragged and droped a timer control "tmrGetMappingXML" from the Common Controls Tab in Tool Box. The issue that I am mentioning also appears for the Timer Control present in the Components Tab in tool box.

In the form Load i have written:

tmrGetMappingXML.Interval = 3600; //1 Hour = 3600 Seconds
tmrGetMappingXML.Enabled = True;
tmrGetMappingXML.Start();

The timer interval is also set in the design time to 3600 seconds.

But the Tick event of the timer fires continuously every second. Fed up.

Please suggest.

Regards,
Sourabh

Thanks and Regards,