3 writes to nativeHandle
System.Windows.Forms (3)
misc\GDI\WindowsRegion.cs (3)
79
wr.
nativeHandle
= hRegion;
135
this.
nativeHandle
= IntSafeNativeMethods.CreateRectRgn(rect.X, rect.Y, rect.X+rect.Width, rect.Y+rect.Height);
155
this.
nativeHandle
= IntPtr.Zero;
6 references to nativeHandle
System.Windows.Forms (6)
misc\GDI\WindowsRegion.cs (6)
134
Debug.Assert(
nativeHandle
== IntPtr.Zero, "nativeHandle should be null, we're leaking handle");
148
if (this.
nativeHandle
!= IntPtr.Zero) {
152
IntUnsafeNativeMethods.DeleteObject(new HandleRef(this, this.
nativeHandle
));
174
return this.
nativeHandle
;
182
return this.
nativeHandle
== IntPtr.Zero;
195
IntUnsafeNativeMethods.GetRgnBox(new HandleRef(this, this.
nativeHandle
), ref rect);