/// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main()
 {
     //#if (!DEBUG)
     //ServiceBase[] ServicesToRun;
     //ServicesToRun = new ServiceBase[]
     //{
     //    new OrderStatusService()
     //};
     //ServiceBase.Run(ServicesToRun);
     //#else
     OrderStatusService orderDebug = new OrderStatusService();
     orderDebug.Start();
     //#endif
 }
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main()
        {
            //#if (!DEBUG)
            //ServiceBase[] ServicesToRun;
            //ServicesToRun = new ServiceBase[]
            //{
            //    new OrderStatusService()
            //};
            //ServiceBase.Run(ServicesToRun);
            //#else
            OrderStatusService orderDebug = new OrderStatusService();

            orderDebug.Start();
            //#endif
        }