我有一個按鈕,點擊時標籤將顯示,但做什麼樣的代碼我用得到它,點擊該按鈕時,他們再次被隱藏:(VB)切換標籤的開/關
Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Label4.Hide()
Label5.Hide()
Label6.Hide()
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MsgBox("All shortcuts require Shift+(Letter) combination", vbOKOnly, "Shortcuts Active")
Label4.Show()
Label5.Show()
Label6.Show()
End Sub
謝謝,先試試:D – Boats