If there is a form, there is a timer
b form, there is also a timer.
Requires that the B form's timer and a form be synchronized.
A form is the main interface and the B form is a sub-interface
Scenario 1: To keep the B-form and the A-form synchronized timers, you can pass the interval of the A-form's timer as a parameter to the B form's constructor when you start the B form
Or save an interval of form A to a file, read from the configuration after the B form is loaded
Then, when the a form changes the interval of the timer, the B form is notified by the event.
Scenario 2: You can implement the observer pattern, passing the interval directly through the observer pattern when instantiating the B form. And when changing the A-form timer interval, all observers are notified by the OnNext method, and the timer acquisition interval changes.
The difference between the observer pattern and the event