public override int GetHashCode()
 {
     unchecked {
         var hashCode = HasForeColor.GetHashCode();
         hashCode = (hashCode * 397) ^ HasBackColor.GetHashCode();
         hashCode = (hashCode * 397) ^ HasVariousPropertyBits.GetHashCode();
         hashCode = (hashCode * 397) ^ HasCaption.GetHashCode();
         hashCode = (hashCode * 397) ^ HasPicturePosition.GetHashCode();
         hashCode = (hashCode * 397) ^ HasSize.GetHashCode();
         hashCode = (hashCode * 397) ^ HasMousePointer.GetHashCode();
         hashCode = (hashCode * 397) ^ HasPicture.GetHashCode();
         hashCode = (hashCode * 397) ^ HasAccelerator.GetHashCode();
         hashCode = (hashCode * 397) ^ TakeFocusOnClick.GetHashCode();
         hashCode = (hashCode * 397) ^ HasMouseIcon.GetHashCode();
         return(hashCode);
     }
 }
Exemple #2
0
 public override int GetHashCode()
 {
     unchecked {
         var hashCode = HasForeColor.GetHashCode();
         hashCode = (hashCode * 397) ^ HasBackColor.GetHashCode();
         hashCode = (hashCode * 397) ^ HasVariousPropertyBits.GetHashCode();
         hashCode = (hashCode * 397) ^ HasCaption.GetHashCode();
         hashCode = (hashCode * 397) ^ HasPicturePosition.GetHashCode();
         hashCode = (hashCode * 397) ^ HasSize.GetHashCode();
         hashCode = (hashCode * 397) ^ HasMousePointer.GetHashCode();
         hashCode = (hashCode * 397) ^ HasBorderColor.GetHashCode();
         hashCode = (hashCode * 397) ^ HasBorderStyle.GetHashCode();
         hashCode = (hashCode * 397) ^ HasSpecialEffect.GetHashCode();
         hashCode = (hashCode * 397) ^ HasPicture.GetHashCode();
         hashCode = (hashCode * 397) ^ HasAccelerator.GetHashCode();
         hashCode = (hashCode * 397) ^ HasMouseIcon.GetHashCode();
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     unchecked {
         var hashCode = HasVariousPropertyBits.GetHashCode();
         hashCode = (hashCode * 397) ^ HasBackColor.GetHashCode();
         hashCode = (hashCode * 397) ^ HasForeColor.GetHashCode();
         hashCode = (hashCode * 397) ^ HasMaxLength.GetHashCode();
         hashCode = (hashCode * 397) ^ HasBorderStyle.GetHashCode();
         hashCode = (hashCode * 397) ^ HasScrollBars.GetHashCode();
         hashCode = (hashCode * 397) ^ HasDisplayStyle.GetHashCode();
         hashCode = (hashCode * 397) ^ HasMousePointer.GetHashCode();
         hashCode = (hashCode * 397) ^ HasSize.GetHashCode();
         hashCode = (hashCode * 397) ^ HasPasswordChar.GetHashCode();
         hashCode = (hashCode * 397) ^ HasListWidth.GetHashCode();
         hashCode = (hashCode * 397) ^ HasBoundColumn.GetHashCode();
         hashCode = (hashCode * 397) ^ HasTextColumn.GetHashCode();
         hashCode = (hashCode * 397) ^ HasColumnCount.GetHashCode();
         hashCode = (hashCode * 397) ^ HasListRows.GetHashCode();
         hashCode = (hashCode * 397) ^ HasColumnInfoCount.GetHashCode();
         hashCode = (hashCode * 397) ^ HasMatchEntry.GetHashCode();
         hashCode = (hashCode * 397) ^ HasListStyle.GetHashCode();
         hashCode = (hashCode * 397) ^ HasShowDropDownWhen.GetHashCode();
         hashCode = (hashCode * 397) ^ HasDropButtonStyle.GetHashCode();
         hashCode = (hashCode * 397) ^ HasMultiSelect.GetHashCode();
         hashCode = (hashCode * 397) ^ HasValue.GetHashCode();
         hashCode = (hashCode * 397) ^ HasCaption.GetHashCode();
         hashCode = (hashCode * 397) ^ HasPicturePosition.GetHashCode();
         hashCode = (hashCode * 397) ^ HasBorderColor.GetHashCode();
         hashCode = (hashCode * 397) ^ HasSpecialEffect.GetHashCode();
         hashCode = (hashCode * 397) ^ HasMouseIcon.GetHashCode();
         hashCode = (hashCode * 397) ^ HasPicture.GetHashCode();
         hashCode = (hashCode * 397) ^ HasAccelerator.GetHashCode();
         hashCode = (hashCode * 397) ^ HasGroupName.GetHashCode();
         return(hashCode);
     }
 }