public extern static int DrawText(IntPtr hdc, string lpString, int nCount, ref RECT lpRect, int uFormat); [DllImport("user32.dll", CharSet=CharSet.Auto)]