private void GenerateButtonImages() { Color grayColor = SystemColors.ControlDark; this.highContrastMode = SystemInformation.HighContrast; if (this.highContrastMode) { grayColor = SystemColors.Control; } this.moveUpImage = XHelperMethods.MapBitmapColor(this.moveUpOriginalImage, Color.Black, SystemColors.ControlText); this.moveUpGrayImage = XHelperMethods.MapBitmapColor(this.moveUpOriginalImage, Color.Black, grayColor); this.moveDownImage = XHelperMethods.MapBitmapColor(this.moveDownOriginalImage, Color.Black, SystemColors.ControlText); this.moveDownGrayImage = XHelperMethods.MapBitmapColor(this.moveDownOriginalImage, Color.Black, grayColor); this.deleteImage = XHelperMethods.MapBitmapColor(this.deleteOriginalImage, Color.Black, SystemColors.ControlText); this.deleteGrayImage = XHelperMethods.MapBitmapColor(this.deleteOriginalImage, Color.Black, grayColor); }