Thread obsoleto Nascondere Textbox

COrion

Nuovo utente
Autore del topic
19 Novembre 2011
1
0
Miglior risposta
0
Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
If CheckBox1.Checked Then
TextBox2.Show()
Else
CheckBox1.Hide() Then TextBox2.Hide()

End If



End Sub
End Class

Io vorrei fare in modo che sei il check box è attivo allora si attivi anche la textbox2, e fine qui tutto bene, poi non riesco a capire come fare in modo che quando il check box è disattivo scompaia la textbox2