Пример #1
0
        public ListViewDetailColumn(string name, string headerText)

        {
            this.name       = name;
            this.HeaderText = headerText;
            this.accessor   = new ListViewAccessor(this);
        }
Пример #2
0
        public override bool Equals(object obj)
        {
            ListViewAccessor listViewAccessor = obj as ListViewAccessor;

            if (obj == null || (object)listViewAccessor.GetType() != (object)this.GetType())
            {
                return(false);
            }
            return(listViewAccessor.Column == this.Column);
        }
Пример #3
0
        public override bool Equals(object obj)
        {
            ListViewAccessor accessor = obj as ListViewAccessor;

            if (obj == null)
            {
                return(false);
            }

            return(accessor.GetType() == this.GetType() && accessor.Column == this.Column);
        }