0% found this document useful (0 votes)
72 views

Public Class Form1

This document contains code for a form with 3 radio buttons. When each radio button is checked, it updates the text of 4 labels to display the members and their instruments for different bands: Nirvana, Green Day, and The 1975.

Uploaded by

api-347017345
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views

Public Class Form1

This document contains code for a form with 3 radio buttons. When each radio button is checked, it updates the text of 4 labels to display the members and their instruments for different bands: Nirvana, Green Day, and The 1975.

Uploaded by

api-347017345
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Public Class Form1

Private Sub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles RadioButton1.CheckedChanged
Label1.Text = "Kurt Cobain - Vocals / Guitar"
Label2.Text = "Dave Ghrol - Drums"
Label3.Text = "Pat Smear - Second Guitar"
Label4.Text = "Krist Novoselic - Bass Guitar"
End Sub

Private Sub RadioButton2_CheckedChanged(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles RadioButton2.CheckedChanged
Label1.Text = "Billie Joe Armstrong - Vocals / Piano"
Label2.Text = "Tr Cool - Drums"
Label3.Text = "Mike Durnt - Bass Guitar / Guitar"
Label4.Text = " "
End Sub

Private Sub RadioButton3_CheckedChanged(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles RadioButton3.CheckedChanged
Label1.Text = "Matthew Healy - Guitar / Vocals"
Label2.Text = "Adam Hann - Secondary Guitar"
Label3.Text = "George Daniel - Drums"
Label4.Text = "Ross Macdonald - Bass Guitar"

End Sub
End Class

You might also like