hello guys how r u ?
my question is that, i have created a method which retrieve data from a service and i want to call that function in the timer that when timer tick event fire that function should be call ... how can i do it ??
please reply soon
thanks
Loading
Faisal AnsariPosted Apr 10, 2012, 6:32 AM
SenthilkumarPosted Apr 10, 2012, 5:47 AM
You can do that. It supports a calling method ashyonchrously.. you can call the method in tick event,.
Normally the timer can be written like this.
It will call the method every time based on the interval set.
You can get more info:
http://msdn.microsoft.com/en-us/library/system.windows.forms.timer.tick.aspx