我正在使用visual studio 2013.我有6个收音机按钮。我想在从组合框中选择特定条目时更改其文本。我怎么能这样做?
答案 0 :(得分:0)
您可以使用SelectionChangeCommitted事件。例如:
Private Sub ComboBox_SelectionChangeCommitted(ByVal sender As Object, ByVal e As System.EventArgs) Handles ComboBox.SelectionChangeCommitted
If ComboBox.SelectedValue = "" Then
Me.radiobutton.Text = ""
End If
End Sub