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