public static extern int FillRect(IntPtr hDC, ref RECT rect, IntPtr hBrush); [DllImport("User32.dll", CharSet=CharSet.Auto)]