首页  编辑  

ListBox删除选中项

Tags: /C#/界面处理/ListBox、ComboBox/   Date Created:

for ( int i = listBox1 . SelectedItems . Count - 1 ; i >= 0 ; i -- )

   listBox1 . Items . Remove(listBox1 . SelectedItems[i]);