8 references to NULL_BRUSH
System.Windows.Forms (4)
System\Windows\Forms\Control.cs (1)
5883
return (HBRUSH)PInvokeCore.GetStockObject(GET_STOCK_OBJECT_FLAGS.
NULL_BRUSH
);
System\Windows\Forms\NativeWindow.WindowClass.cs (1)
134
windowClass.hbrBackground = (HBRUSH)PInvokeCore.GetStockObject(GET_STOCK_OBJECT_FLAGS.
NULL_BRUSH
);
System\Windows\Forms\Rendering\ControlPaint.cs (2)
1839
using SelectObjectScope brushSelection = new(desktopDC, PInvokeCore.GetStockObject(GET_STOCK_OBJECT_FLAGS.
NULL_BRUSH
));
1860
using SelectObjectScope brushSelection = new(desktopDC, PInvokeCore.GetStockObject(GET_STOCK_OBJECT_FLAGS.
NULL_BRUSH
));
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\OleDragDropHandler.cs (1)
441
using SelectObjectScope brushSelection = new(dc, PInvokeCore.GetStockObject(GET_STOCK_OBJECT_FLAGS.
NULL_BRUSH
));
System.Windows.Forms.Primitives (1)
System\Windows\Forms\DeviceContextExtensions.cs (1)
35
using SelectObjectScope brushScope = new(hdc, PInvokeCore.GetStockObject(GET_STOCK_OBJECT_FLAGS.
NULL_BRUSH
));
System.Windows.Forms.Primitives.Tests (1)
Interop\Gdi32\GetStockObjectTests.cs (1)
10
[InlineData((int)GET_STOCK_OBJECT_FLAGS.
NULL_BRUSH
, 0x00000000, (uint)BRUSH_STYLE.BS_HOLLOW)]
System.Windows.Forms.Primitives.TestUtilities (1)
DeviceContextState.cs (1)
160
case GET_STOCK_OBJECT_FLAGS.
NULL_BRUSH
: