关于Mdi窗口-父窗口上的控件把子窗口的挡住的问题
using System.Runtime.InteropServices;
[DllImport("user32")]
public static extern int SetParent(int hWndChild, int hWndNewParent);
///temp2是你的子form
temp2.MdiParent = this;
temp2.Show();
SetParent((int)temp2.Handle, (int)this.Handle);
原文:http://topic.csdn.net/u/20100116/22/b45780e4-1b81-403a-921d-d6e7e30c96ee.html

浙公网安备 33010602011771号