10 references to CreateSolidBrush
System.Private.Windows.Core (3)
Windows\Win32\Graphics\Gdi\CreateBrushScope.cs (2)
27/// Creates a solid brush based on the <paramref name="color"/> using <see cref="PInvokeCore.CreateSolidBrush(COLORREF)"/>. 33: PInvokeCore.CreateSolidBrush(color);
Windows\Win32\PInvokeCore.GetSysColorBrush.cs (1)
24return CreateSolidBrush(systemColor);
System.Windows.Forms (3)
System\Windows\Forms\Control.cs (1)
799backBrush = PInvokeCore.CreateSolidBrush((COLORREF)(uint)ColorTranslator.ToWin32(color));
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
3621= PInvokeCore.CreateSolidBrush(ColorTranslator.ToWin32(Color.FromArgb(64, 64, 64)));
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2108using ObjectScope brush = new(PInvokeCore.CreateSolidBrush((COLORREF)(uint)ColorTranslator.ToWin32(backColor)));
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\DesignerUtils.cs (4)
28PInvokeCore.CreateSolidBrush((COLORREF)(uint)ColorTranslator.ToWin32(SystemColors.Window)); 30PInvokeCore.CreateSolidBrush((COLORREF)(uint)ColorTranslator.ToWin32(SystemColors.ControlText)); 173s_grabHandleFillBrushPrimary = PInvokeCore.CreateSolidBrush((COLORREF)(uint)ColorTranslator.ToWin32(SystemColors.Window)); 176s_grabHandleFillBrush = PInvokeCore.CreateSolidBrush((COLORREF)(uint)ColorTranslator.ToWin32(SystemColors.ControlText));