void OnCbo1Change(object sender, EventArgs e) { lblText.Text = "The Text was changed to: " + cbo1.Text; lblValue.Text = "The Value was changed to: " + cbo1.Value; }
Sub OnCbo1Change(ByVal sender As Object, ByVal e As EventArgs) lblText.Text = "The Text was changed to: " + cbo1.Text lblValue.Text = "The Value was changed to: " + cbo1.Value End Sub