Usually what I do is that my event stops the timer when it is raised, and then restarts the timer when the event process ends:
private void timerHandler(object sender, TimerElapsedEventArgs e)
{
Timer timer = (Timer)sender;
timer.Stop();
RunProcess();
timer.Start();
}
public void RunProcess()
{
}
Now my timer will start again at the end of the process
source
share