/// <summary>
        /// Unregister manuall assigned control type handler.
        /// </summary>
        public bool UnRegisterControlHandler(Type controlType, AutomatedControlEventHandler handler)
        {
            if (_controlTypeHandlers.ContainsKey(controlType) == false)
            {
                _controlTypeHandlers.Add(controlType, new List <AutomatedControlEventHandler>());
            }

            return(_controlTypeHandlers[controlType].Remove(handler));
        }
        /// <summary>
        /// Unregister manuall assigned control type handler.
        /// </summary>
        public bool UnRegisterControlHandler(Type controlType, AutomatedControlEventHandler handler)
        {
            if (_controlTypeHandlers.ContainsKey(controlType) == false)
            {
                _controlTypeHandlers.Add(controlType, new List<AutomatedControlEventHandler>());
            }

            return _controlTypeHandlers[controlType].Remove(handler);
        }