public IControl Assign(IUIItem item, ControlType controlType, ActionType actionType, string Criteria)
        {
            IControl x = Produce(controlType, actionType, Criteria);

            x.Assign(item);
            return(x);
        }
        public IControl Assign(System.Windows.Automation.AutomationElement element, ControlType controlType, ActionType actionType, string Criteria)
        {
            IControl x = Produce(controlType, actionType, Criteria);

            x.Assign(element);
            return(x);
        }