Create a new project of type Windows Service and copy the existing code into it. You may also have to create an installer project for the service.
NOTE: You can't use any forms in a windows service.
Check out this cp article about services:
Simple Windows Service Sample[
^]