public ProcesoLog() { InitializeComponent(); _eventLog = new Log("Estatus de Servicio", "Servicio de Monitor de Procesos"); conectores = new Conectores(); }
/// <summary> /// The main entry point for the application. /// </summary> private static void Main() { #if (!DEBUG) ServiceBase[] ServicesToRun; ServicesToRun = new ServiceBase[] { new ProcesoLog() }; ServiceBase.Run(ServicesToRun); #else Conectores conectores = new Conectores(); conectores.Start_Visitas(); #endif }