zoukankan      html  css  js  c++  java
  • DS控件库 Win7链接列表框的仿Windows开始菜单样式

    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
    

      

  • 相关阅读:
    混淆
    【虚拟DOM】√
    fn
    notebook
    sourceMappingURL
    十进制转换为十六进制
    关于this和super的区别
    类中访问级别
    Java中字符串解析
    IWorkspace操作
  • 原文地址:https://www.cnblogs.com/dylike/p/10453115.html
Copyright © 2011-2022 走看看