111,126
社区成员
发帖
与我相关
我的任务
分享
for (int w= listBox1.Items.Count-1; w >=0 ; w--)
{
if (listBox1.Items[w].ToString().Contains("无效"))
{
listBox1.Items.Remove(listBox1.Items[w].ToString());
}
}