3 references to CreatePen
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ControlPaint.cs (3)
1788
pen = SafeNativeMethods.
CreatePen
(NativeMethods.PS_DOT, 1, ColorTranslator.ToWin32(backColor));
1793
pen = SafeNativeMethods.
CreatePen
(NativeMethods.PS_SOLID, 2, ColorTranslator.ToWin32(backColor));
1827
IntPtr pen = SafeNativeMethods.
CreatePen
(NativeMethods.PS_SOLID, 1, ColorTranslator.ToWin32(backColor));