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