This document contains the code for a Visual Basic application with 5 radio buttons. When each radio button is clicked, it displays the members of a different band in 5 labels. RadioButton1 displays Aerosmith, RadioButton2 displays Imagine Dragons, RadioButton3 displays U2, RadioButton4 displays Coldplay, and RadioButton5 displays Queen.
This document contains the code for a Visual Basic application with 5 radio buttons. When each radio button is clicked, it displays the members of a different band in 5 labels. RadioButton1 displays Aerosmith, RadioButton2 displays Imagine Dragons, RadioButton3 displays U2, RadioButton4 displays Coldplay, and RadioButton5 displays Queen.
This document contains the code for a Visual Basic application with 5 radio buttons. When each radio button is clicked, it displays the members of a different band in 5 labels. RadioButton1 displays Aerosmith, RadioButton2 displays Imagine Dragons, RadioButton3 displays U2, RadioButton4 displays Coldplay, and RadioButton5 displays Queen.
This document contains the code for a Visual Basic application with 5 radio buttons. When each radio button is clicked, it displays the members of a different band in 5 labels. RadioButton1 displays Aerosmith, RadioButton2 displays Imagine Dragons, RadioButton3 displays U2, RadioButton4 displays Coldplay, and RadioButton5 displays Queen.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub Private Sub RadioButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton1.Click Label1.Text = "Steven Tyler- Vocals" Label2.Text = "Joe Perry- Lead Guitar" Label3.Text = "Brad Whitford- Guitar" Label4.Text = "Tom Hamilton- Bassist" Label5.Text = "Joey Kramer- Drums" End Sub Private Sub RadioButton2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton2.Click Label1.Text = "Dan Reynolds- Vocals/Guitar" Label2.Text = "Daniel Wayne Sermon- Cello" Label3.Text = "Ben McKee- Bassist" Label4.Text = "Daniel Platzman- Drums" Label5.Text = "" End Sub Private Sub RadioButton3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton3.Click Label1.Text = "Bono- Vocals/Guitar" Label2.Text = "The Edge- Guitar" Label3.Text = "Adam Clayton- Bassist" Label4.Text = "Larry Mullen Jr.- Drums" Label5.Text = "" End Sub Private Sub RadioButton4_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton4.CheckedChanged Label1.Text = "Chris Martin- Vocals/Pianist" Label2.Text = "Jonny Buckland- Lead Guitar" Label3.Text = "Guy Berryman- Bassist" Label4.Text = "Will Champion- Drums" Label5.Text = "" End Sub Private Sub RadioButton5_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton5.CheckedChanged Label1.Text = "Freddie Mercury- Vocals" Label2.Text = "Brian May- Lead Guitar" Label3.Text = "John Deacon- Bassist" Label4.Text = "Roger Taylor- Drums" Label5.Text = "" End Sub End Class