public HBRUSH(COLORREF color) { HBRUSH hbrush = CreateSolidBrush(color.Value); this.SetHandle(hbrush.DangerousGetHandle()); this.DangerousOwnsHandle = true; }
public static extern bool SetTextColor(IntPtr hdcDest, COLORREF crColor);