static class Program
{
///
/// The main entry point for the application.
///
static void Main()
{
#if (!DEBUG)
ServiceBase[] ServicesToRun;
ServicesToRun = new ServiceBase[]
{
new LISService()
};
ServiceBase.Run(ServicesToRun);
#else
LISService lis = new LISService();
lis.Start();
#endif
}
}
No comments:
Post a Comment