Files
MyMcKesson/TomcatServer/PlutoServer.PracticeChoice/PlutoService.PraticeChoice.cs
2016-07-27 00:32:34 -04:00

28 lines
729 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
namespace PlutoServer.PracticeChoice {
public partial class PlutoService : ServiceBase {
public PlutoService() {
InitializeComponent();
// Log to the Application System Log
this.EventLog.Log = "Application";
}
protected override void OnStart(string[] args) {
PracticeChoiceTcpServerChannel.Activate();
}
protected override void OnStop() {
PracticeChoiceTcpServerChannel.Deactivate();
}
}
}