protected override void OnStart(string[] args) { WriteEventEntry("Starting Mercury!", EventLogEntryType.Information, 0, 0); _systemServer = new Mercury.Mercury(2500); _systemServer.Output += MercuryLoggingRoutine; _systemServer.Error += MercuryErrorRoutine; _systemServer.Start(); // base.OnStart(args); WriteEventEntry("Done Starting!", EventLogEntryType.Information, 0, 0); }
public Entry() { InitializeComponent(); // ServiceName = "Mercury Trade Server"; _systemServer = new Mercury.Mercury(2500); }