Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
For Each listItem As ListViewItem In ListView1.Items
If listItem.SubItems.Item(1).Text = "完成" Then
listItem.Remove()
End If
Next
End Sub
沒有留言:
張貼留言