vb 多个panel重叠问题

2024-11-10 02:29:19
推荐回答(2个)
回答1:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Panel1.BringToFront()

End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Panel2.BringToFront()

End Sub

回答2:

设置 Index 值就可以了.