日期:2014-05-18 浏览次数:20884 次
public void SendToBack() { if (this.parent != null) { this.parent.Controls.SetChildIndex(this, -1); } else if (this.IsHandleCreated && this.GetTopLevel()) { SafeNativeMethods.SetWindowPos(new HandleRef(this.window, this.Handle), NativeMethods.HWND_BOTTOM, 0, 0, 0, 0, 3); } } 关键在SetChildIndex