开发者论坛

 找回密码
 注册 (请使用非IE浏览器)
查看: 3466|回复: 0

学习ProductsDemo.Win心得1

[复制链接]

0

精华

0

贡献

0

赞扬

帖子
19
软币
170
在线时间
15 小时
注册时间
2014-10-8
发表于 2014-11-16 18:40:49 | 显示全部楼层 |阅读模式
最近在学习ProductsDemo.Win,有一些体会记录下来,大家分享:
2014-11-16:
在Contacts模块:
在Private Sub UpdateCurrentContact()过程添加一句:InitIndex(DataHelper.Contacts)'根据Contacts数据库重建索引
在Public Sub SetupGrid(ByVal list As List(Of AlphaIndex), ByVal grid As GridControl)过程添加代码后如下:
Dim view As GridView = TryCast(grid.MainView, GridView)
            view.Columns.Clear()'清理索引列
            view.Columns.AddVisible("Index")
            grid.DataSource = list
   AddHandler view.FocusedRowChanged, AddressOf view_FocusedRowChanged
实现更改Contacts的Last Name后重建索引。
回复

使用道具 举报

Archiver|手机版|小黑屋|开发者网 ( 苏ICP备08004430号-2 )
版权所有:南京韵文教育信息咨询有限公司

GMT+8, 2024-5-4 09:32

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表