4 references to ToOle
System.Drawing.Common.Tests (1)
System\Drawing\ColorTranslatorTests.cs (1)
106Assert.Equal(oleColor, ColorTranslator.ToOle(color));
System.Private.Windows.Core (1)
Windows\Win32\PInvoke.GetSysColorBrush.cs (1)
30return GetSysColorBrush((SYS_COLOR_INDEX)(ColorTranslator.ToOle(systemColor) & 0xFF));
System.Windows.Forms (2)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3676return (uint)ColorTranslator.ToOle(color);
System\Windows\Forms\ComponentModel\COM2Interop\COM2ColorConverter.cs (1)
34return (VARIANT)ColorTranslator.ToOle(managedValueAsColor);