Esempio n. 1
0
        protected override void OnStop()
        {
            _Send = null;

            if (_Notificator != null)
            {
                _Notificator.Dispose();
                _Notificator = null;
            }
            base.OnStop();
        }
Esempio n. 2
0
        protected override void OnStart()
        {
            if (_Notificator != null)
            {
                _Notificator.Dispose();
                _Notificator = null;
            }

            _Notificator           = new MultiMediaNotificationListener();
            _Notificator.OnChange += OnChange;
            _Send = _Notificator.GetConnected();
        }