Exemplo n.º 1
0
        static void Main()
        {
            ServerRun.Init();
            Application.Run();

            //ServiceBase[] ServicesToRun;
            //ServicesToRun = new ServiceBase[]
            //{
            //    new SendSmsService()
            //};
            //ServiceBase.Run(ServicesToRun);
        }
Exemplo n.º 2
0
 protected override void OnStart(string[] args)
 {
     ServerRun.Init();
 }