예제 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = HasBackColor.GetHashCode();
         hashCode = (hashCode * 397) ^ HasForeColor.GetHashCode();
         hashCode = (hashCode * 397) ^ HasNextAvailableId.GetHashCode();
         hashCode = (hashCode * 397) ^ HasBooleanProperties.GetHashCode();
         hashCode = (hashCode * 397) ^ HasBorderStyle.GetHashCode();
         hashCode = (hashCode * 397) ^ HasMousePointer.GetHashCode();
         hashCode = (hashCode * 397) ^ HasScrollBars.GetHashCode();
         hashCode = (hashCode * 397) ^ HasDisplayedSize.GetHashCode();
         hashCode = (hashCode * 397) ^ HasLogicalSize.GetHashCode();
         hashCode = (hashCode * 397) ^ HasScrollPosition.GetHashCode();
         hashCode = (hashCode * 397) ^ HasGroupCount.GetHashCode();
         hashCode = (hashCode * 397) ^ HasMouseIcon.GetHashCode();
         hashCode = (hashCode * 397) ^ HasCycle.GetHashCode();
         hashCode = (hashCode * 397) ^ HasSpecialEffect.GetHashCode();
         hashCode = (hashCode * 397) ^ HasBorderColor.GetHashCode();
         hashCode = (hashCode * 397) ^ HasCaption.GetHashCode();
         hashCode = (hashCode * 397) ^ HasFont.GetHashCode();
         hashCode = (hashCode * 397) ^ HasPicture.GetHashCode();
         hashCode = (hashCode * 397) ^ HasZoom.GetHashCode();
         hashCode = (hashCode * 397) ^ HasPictureAlignment.GetHashCode();
         hashCode = (hashCode * 397) ^ PictureTiling.GetHashCode();
         hashCode = (hashCode * 397) ^ HasPictureSizeMode.GetHashCode();
         hashCode = (hashCode * 397) ^ HasShapeCookie.GetHashCode();
         hashCode = (hashCode * 397) ^ HasDrawBuffer.GetHashCode();
         return(hashCode);
     }
 }
예제 #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);
     }
 }
예제 #3
0
 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);
     }
 }