Exemple #1
0
        /// <summary>
        /// Determines whether the specified object is equal to the current object.
        /// </summary>
        /// <param name="element">The object to compare with the current object.</param>
        /// <returns>True if the specified object is equal to the current object; otherwise, false.</returns>
        public override bool Equals(IUITechnologyElement element)
        {
            CommonControlElement other = element as CommonControlElement;

            if ((object)other != null)
            {
                return(InnerElement.Equals(other.InnerElement));
            }

            return(false);
        }