1 write to HBRUSH
System.Windows.Forms.Primitives (1)
Windows\Win32\CreateBrushScope.cs (1)
31
HBRUSH
= color.IsSystemColor
7 references to HBRUSH
System.Windows.Forms.Primitives (7)
Windows\Win32\CreateBrushScope.cs (7)
10
/// Helper to scope the lifetime of a <see cref="
HBRUSH
"/>.
37
public static implicit operator HBRUSH(in CreateBrushScope scope) => scope.
HBRUSH
;
38
public static implicit operator HGDIOBJ(in CreateBrushScope scope) => scope.
HBRUSH
;
40
public bool IsNull =>
HBRUSH
.IsNull;
44
if (!
HBRUSH
.IsNull)
47
PInvokeCore.DeleteObject(
HBRUSH
);
58
if (
HBRUSH
.IsNull)