zoukankan      html  css  js  c++  java
  • Winform,C#,listView判断鼠标点击是行还是listView的空白区

  • private void listView1_Click(object sender, EventArgs e)   
  •         {   
  •             if (this.listView1.SelectedItems.Count <=0 )//这这判断是否点了空白区,点了空白区进到if里   
  •                 MessageBox.Show("请选中items");   
  •         }  
查看全文
  • 相关阅读:
    【python】正则表达式
    Java 接口、抽象类
    设计模式之抽象工厂方法模式
    设计模式之工厂方法模式
    设计模式之单例模式
    pulltorefresh学习
    ProgressDialog使用
    android:descendantFocusability用法简析
    数据保存之File
    runOnUiThread学习
  • 原文地址:https://www.cnblogs.com/hfzsjz/p/1666327.html
  • Copyright © 2011-2022 走看看