Example #1
0
        public bool ValidateHotKeyProperties()
        {
            bool valid = false;

            if (_propertyObject != null)
            {
                PropertyInfo[] prop = _propertyObject.GetType().GetProperties();
                foreach (PropertyInfo p in prop)
                {
                    if (p.GetValue(_propertyObject) != null)
                    {
                        valid = true;
                    }
                }
            }
            else
            {
                valid = true;
            }
            return(valid);
        }