Пример #1
0
        public void AddMessageFilter()
        {
            if (null != _filter) return;

            _filter = new PreMessageFilter();
            Application.AddMessageFilter(_filter);
        }
        public void AddMessageFilter()
        {
            //if (null != _filter) return;

            _filter = new PreMessageFilter();
            Application.AddMessageFilter(_filter);
        }
Пример #3
0
        public void RemoveMessageFilter()
        {
            if (null == _filter)
            {
                return;
            }

            Application.RemoveMessageFilter(_filter);

            _filter = null;
        }