日期:2014-05-17 浏览次数:20756 次
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
static void Main()
{
ServiceBase[] ServicesToRun;
ServicesToRun = new ServiceBase[]
{
new Service1(),
new Service2(),
};
ServiceBase.Run(ServicesToRun);
}
}