public extern static IntPtr SetParent(IntPtr hChild, IntPtr hParent); [DllImport("user32.dll", CharSet=CharSet.Auto)]