Esempio n. 1
0
        protected override void OnStart(string[] args)
        {
            TestWindowsServiceEventLog.WriteEntry("TestWindowsService : OnStart executing");

            Thread fileWatcherThread = new Thread(FileWatcherThread);

            fileWatcherThread.Start(new FileWatcherData(@"\\adeoc01\techpickup\TMS\Motor"));
        }
Esempio n. 2
0
 protected override void OnStop()
 {
     TestWindowsServiceEventLog.WriteEntry("TestWindowsService : OnStop executing");
 }