2 references to FindNearestColor
System.Windows.Forms (1)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1132
foreColor = scope.HDC.
FindNearestColor
(DisabledColor);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\DeviceContextExtensions.cs (1)
98
internal static Color FindNearestColor(this DeviceContextHdcScope hdc, Color color) =>
FindNearestColor
(hdc.HDC, color);