static void Main(string[] args) { EventLogWriter ev = new EventLogWriter("testEventLog"); ev.WriteToEventLog("test"); }
protected override void OnStop() { logWriter.WriteToEventLog("OnStop"); }
static void Main(string[] args) { EventLogWriter ev = new EventLogWriter("testEventLog"); ev.WriteToEventLog("test"); }
protected override void OnStop() { logWriter.WriteToEventLog("OnStop"); }