Foxtable(狐表)用户栏目专家坐堂 → ListView做的文件件管理器怎么排序


  共有3035人关注过本帖平板打印复制链接

主题:ListView做的文件件管理器怎么排序

帅哥,在线噢!
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107880 积分:548763 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2020/8/24 20:16:00 [只看该作者]

……
Dim dls As List(of String)
dls = ftp.GetDetailList(path)
If dls.Count < = 0 Then
    Dim r As  WinForm.ListViewRow =  lvw.Rows.Add() '增加一行
    r("文件") = "暂时没有文件"
Else
Dim dics As new SortedDictionary(Of string, string)
For Each dl As String In dls
Dim Parts() As String = dl.Split("*")
    dics.Add(Parts(1)dl)
Next
    For Each dl As String In dics.values
        Dim Parts() As String = dl.Split("*")
        Dim r As  WinForm.ListViewRow =  lvw.Rows.Add() '增加一行
        Dim Dot As Integer = parts(0).LastIndexOf(".")  '定义.的位置
……

 回到顶部
总数 12 1 2 下一页