我一直在尝试锻炼如何将重叠的面板向前或向后移动,但没有成功,我认为下面的代码可以工作,但没有任何明显的效果。
Private Sub Panel2_click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Panel2.Click
Me.BringToFront()
End Sub
也试过
Private Sub Panel3_click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Panel3.Click
Me.Activate()
End Sub
和
Private Sub Panel3_click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Panel3.Click
Me.TopMost = True
End Sub
也失败了?