//ad 1: handle Elapsed event timer.Elapsed += new ElapsedEventHandler(OnElapsedTime); //ad 2: set interval to 1 minute (= 60,000 milliseconds) timer.Interval = 60000; //ad 3: enabling the timer timer.Enabled = true; private void OnElapsedTime(object source, ElapsedEventArgs e) { // Call the audio file play function }
seek
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)