markus / FinalService / FinalServiceBase / FinalService_Watcher / Program.cs @ 42d49521
이력 | 보기 | 이력해설 | 다운로드 (513 Bytes)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.ServiceProcess; |
5 |
using System.Text; |
6 |
|
7 |
namespace FinalService_Watcher |
8 |
{ |
9 |
static class Program |
10 |
{ |
11 |
/// <summary> |
12 |
/// The main entry point for the application. |
13 |
/// </summary> |
14 |
static void Main() |
15 |
{ |
16 |
ServiceBase[] ServicesToRun; |
17 |
ServicesToRun = new ServiceBase[] |
18 |
{ |
19 |
new FinalService_Watcher() |
20 |
}; |
21 |
ServiceBase.Run(ServicesToRun); |
22 |
} |
23 |
} |
24 |
} |