This is my first time working with windows service, and I am learning as I go. I am using VS 2010, Windows 7 to create a windows service that will have a timer. I have googled and browsed this site as well Use of Timer in Windows Service, Best Timer for using in a Windows service but I still am confused as to where to code for the timer in the windows service component
I have an OnStart method and OnStop method in the service1.cs class
Where would I code for the timer to execute the function (NOT start the windows service)?