3 writes to nativeHandle
System.Windows.Forms (3)
misc\GDI\WindowsPen.cs (3)
121this.nativeHandle = IntSafeNativeMethods.CreatePen((int) this.style, this.width, ColorTranslator.ToWin32(this.color) ); 132this.nativeHandle = IntSafeNativeMethods.ExtCreatePen((int)this.style, this.width, lb, 0, null ); 162this.nativeHandle = IntPtr.Zero;
4 references to nativeHandle
System.Windows.Forms (4)
misc\GDI\WindowsPen.cs (4)
157if (this.nativeHandle != IntPtr.Zero && dc != null) 161dc.DeleteObject(this.nativeHandle, GdiObjectType.Pen); 181if( this.nativeHandle == IntPtr.Zero ) 186return this.nativeHandle;