public ServiceHost() : base() { InitializeComponent(); // Register event handlers. m_serviceHelper.ServiceStarted += ServiceHelper_ServiceStarted; m_serviceHelper.ServiceStopping += ServiceHelper_ServiceStopping; }