private
void
listView1_Click(
object
sender, EventArgs e)
{
if
(
this
.listView1.SelectedItems.Count <=0 )
//这这判断是否点了空白区,点了空白区进到if里
MessageBox.Show(
"请选中items"
);
}
转载于:https://www.cnblogs.com/hfzsjz/archive/2010/01/24/1655213.html