4 references to GetStockObject
System.Windows.Forms (4)
winforms\Managed\System\WinForms\Control.cs (1)
7147
return UnsafeNativeMethods.
GetStockObject
(NativeMethods.HOLLOW_BRUSH);
winforms\Managed\System\WinForms\ControlPaint.cs (2)
1798
IntPtr oldBrush = SafeNativeMethods.SelectObject(new HandleRef(null, dc), new HandleRef(null, UnsafeNativeMethods.
GetStockObject
(NativeMethods.HOLLOW_BRUSH)));
1830
IntPtr oldBrush = SafeNativeMethods.SelectObject(new HandleRef(null, dc), new HandleRef(null, UnsafeNativeMethods.
GetStockObject
(NativeMethods.HOLLOW_BRUSH)));
winforms\Managed\System\WinForms\NativeWindow.cs (1)
1589
wndclass.hbrBackground = UnsafeNativeMethods.
GetStockObject
(NativeMethods.HOLLOW_BRUSH); //(IntPtr)(NativeMethods.COLOR_WINDOW + 1);