listView1这这判断是否点了空白区

  1. private void listView1_Click(object sender, EventArgs e)   
  2.         {   
  3.             if (this.listView1.SelectedItems.Count <=0 )//这这判断是否点了空白区,点了空白区进到if里   
  4.                 MessageBox.Show("请选中items");   
  5.         }  
原文地址:https://www.cnblogs.com/wangchuang/p/2703132.html