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