Beispiel #1
0
        public override bool Equals(object obj)
        {
            if (obj == this)
            {
                return(true);
            }
            DataGridViewColumnDesignTimeVisibleAttribute attribute = obj as DataGridViewColumnDesignTimeVisibleAttribute;

            return((attribute != null) && (attribute.Visible == this.visible));
        }
Beispiel #2
0
        /// <include file='doc\DataGridViewColumnDesignTimeVisibleAttribute.uex' path='docs/doc[@for="DataGridViewColumnDesignTimeVisibleAttribute.Equals"]/*' />
        public override bool Equals(object obj)
        {
            if (obj == this)
            {
                return(true);
            }

            DataGridViewColumnDesignTimeVisibleAttribute other = obj as DataGridViewColumnDesignTimeVisibleAttribute;

            return(other != null && other.Visible == visible);
        }