I believe (although i havent used vb in a few years), as Trains code shows
Select Case <expression>
End Select
Are the lines to start and stop a case.
TextBox1.Text is just there as an example, what it does is take the text that is in the object called TextBox1 and see if it matches any of the case statements, if it does, it will execute that case statement.