there are some buttons that will be displayed when the form load. when the user first click on the first button, the invisible button that are put behind the first button will be displayed. whereas, when the user click second time on the 1st button, the dispayed button should be invisible again.
i have tried the select case, but it doesnt work.
Private Sub btnInTr_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnInTr.Click
If count <= 2 Then
Select Case count
Case 0
btnInTr.Visible = True
btnInRe.Visible = True
btnGR.Visible = False
btnGI.Visible = False
Case 1
btnGR.Visible = True
btnGI.Visible = True
btnInRe.Visible = False
Case 2
btnGR.Visible = False
btnGI.Visible = False
btnInRe.Visible = True
End Select
count += 1
End If
End Sub