Click here to Skip to main content
15,906,569 members

Comments by Member 12014273 (Top 1 by date)

Member 12014273 5-May-20 15:41pm View    
There are multiple timers defined, running at different intervals, within the form application that I am using. Each timer has its own += ElapsedEventHandler defined.

Instead of writing a method to stop each timer individually, I came up with this solution that can be called instead.

It works, but was wondering if I can eliminate the need of passing the ElapsedEventHandler for each particular timer.