Exemplo n.º 1
0
        public void OnStart()
        {
            _logger = new Task_4.BusinessLayer.Monitor();
            Thread loggerThread = new Thread(_logger.Start);

            loggerThread.Start();
        }
Exemplo n.º 2
0
        protected override void OnStart(string[] args)
        {
            System.Diagnostics.Debugger.Launch();
            logger = new Task_4.BusinessLayer.Monitor();
            Thread loggerThread = new Thread(logger.Start);

            loggerThread.Start();
        }