当前位置: 移动技术网 > IT编程>开发语言>c# > C# ListView双击Item事件

C# ListView双击Item事件

2019年07月18日  | 移动技术网IT编程  | 我要评论
复制代码 代码如下:private void listview右侧_mousedoubleclick( object sender , mouseeventargs e )
复制代码 代码如下:

private void listview右侧_mousedoubleclick( object sender , mouseeventargs e )
{
listviewhittestinfo info = listview右侧.hittest (e.x , e.y);
if( info.item != null )
{
messagebox.show (info.item.text);
}
}

如您对本文有疑问或者有任何想说的,请点击进行留言回复,万千网友为您解惑!

相关文章:

验证码:
移动技术网