This document contains the code for a Windows form application with radio buttons and labels. Selecting different radio buttons will display the names of band members or artists in the labels. Clicking a button clears the label text. The application loads and handles events for the radio buttons and button.
This document contains the code for a Windows form application with radio buttons and labels. Selecting different radio buttons will display the names of band members or artists in the labels. Clicking a button clears the label text. The application loads and handles events for the radio buttons and button.
This document contains the code for a Windows form application with radio buttons and labels. Selecting different radio buttons will display the names of band members or artists in the labels. Clicking a button clears the label text. The application loads and handles events for the radio buttons and button.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles MyBase.Load End Sub Private Sub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton1.CheckedChanged Label1.Text = "Tyler Joseph - Vocals / Piano" Label2.Text = "Josh Dun - Drums / Vocals" End Sub Private Sub RadioButton2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton2.CheckedChanged Label1.Text = "Gerald Earl Gillum - Song Writer / Rapper / Record Producer" Label2.Text = " " End Sub Private Sub RadioButton3_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton3.CheckedChanged Label1.Text = "Sander van Dijck - Music Producer / DJ" Label2.Text = " " End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = " " Label2.Text = " " End Sub End Class