Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Public Class Form1
- Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
- Dim input As String = TextBox1.Text
- Select Case input
- Case "Thomas"
- TextBox2.Text = "Correct!"
- Case Else
- TextBox2.Text = "Nice try."
- End Select
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment