Start or stop the action when the button is pressed within the specified time interval.
Primary LanguageC#