2 writes to hbrushDither
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (2)
692
hbrushDither
= SafeNativeMethods.CreatePatternBrush(new HandleRef(null, hbitmapTemp));
829
hbrushDither
= IntPtr.Zero;
7 references to hbrushDither
System.Windows.Forms (7)
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (7)
680
Debug.Assert(
hbrushDither
== IntPtr.Zero, "Brush should not be recreated.");
694
Debug.Assert(
hbrushDither
!= IntPtr.Zero,
715
if (((state & STATE_SELECTED) != 0) && (
hbrushDither
!= IntPtr.Zero)) {
782
if (
hbrushDither
== IntPtr.Zero) {
827
if (!RecreatingHandle && (
hbrushDither
!= IntPtr.Zero)) {
828
SafeNativeMethods.DeleteObject(new HandleRef(this,
hbrushDither
));
834
IntPtr hbrushOld = SafeNativeMethods.SelectObject(new HandleRef(null, dc), new HandleRef(this,
hbrushDither
));