protected override void OnStop() { _myDevice.StopService(); _myDevice = null; }
protected override void OnStart(string[] args) { _myDevice = new DeviceManager(); }