把控件放在最上层,类似web样式的z-index
private void SetToTop(Control obj)
{
this.Controls.Add(obj);
this.Controls.SetChildIndex(obj, 0);
}
把控件放在最上层,类似web样式的z-index
private void SetToTop(Control obj)
{
this.Controls.Add(obj);
this.Controls.SetChildIndex(obj, 0);
}