相关文章推荐
千杯不醉的绿茶  ·  WPF combobox ...·  2 月前    · 
茫然的烈马  ·  Oracle Enterprise ...·  1 年前    · 
耍酷的自行车  ·  evosuite+jacoco+sonar ...·  2 年前    · 
/// <param name="sender"></param> /// <param name="e"></param> private void cbxList_SelectedIndexChanged( object sender, RoutedEventArgs e) // 当前选中的索引 int selectIndex = cbxList.SelectedIndex; // 当前选中的文本 string str1 = cbxList.SelectedItem.ToString(); string str2 = cbxList.SelectedText.ToString();