当前位置: 移动技术网 > IT编程>开发语言>.net > DS控件库 Win7链接列表框的仿Windows开始菜单样式

DS控件库 Win7链接列表框的仿Windows开始菜单样式

2019年03月25日  | 移动技术网IT编程  | 我要评论

菜鸟人夫,王尹平 郭鑫,糟糠之妻妾心如水

win7链接列表框是依照windows7的开始菜单开发的,同时进行了属性和功能的扩展。

效果图

 

项属性 

控件属性

 

控件主要事件

点击项(sender as win7链接列表框, itm as 链接项, e as mouseeventargs)
双击项(sender as win7链接列表框, itm as 链接项, e as mouseeventargs)
移入项(sender as win7链接列表框, itm as 链接项, e as mouseeventargs)
移出项(sender as win7链接列表框, e as mouseeventargs)
点击箭头区域(sender as win7链接列表框, itm as 链接项, 箭头区域 as rectangle)

  示例代码

private sub win7链接列表框1_点击箭头区域(sender as win7链接列表框, itm as win7链接列表框.链接项, 箭头区域 as rectangle) handles win7链接列表框1.点击箭头区域
contextmenustrip1.show(win7链接列表框1.pointtoscreen(new point(itm.矩形区域.right, itm.矩形区域.top) - new point(3, 0)))
end sub

  

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网