I am using this Timer . but this timer not run perfectly.
Example:
DispatcherTimer starting_intervel = new DispatcherTimer();
starting_intervel.Interval = new TimeSpan(0, 0, 0, 0, 1500);
starting_intervel.Tick += mainFunctionrandom;
starting_intervel.Start();
void mainFunctionrandom(object sender, EventArgs e)
{
}
In this timer coming some problem. before 1500 ms run next loop..
Anyone know the better timer compare this.
tell me some idea to do this.
thanks.