摘要
采用树形视(TreeView)控件属性、触发事件、调用函数等方法,以生产管理信息系统浏览软件为例,分析了如何把数据表中具有层次的数据信息,按特征编码层次结构加到TreeView控件的算法,以及如何维护TreeView控件等问题。并列举了按层添加列表项的特征编码字段算法,以及某一列表项的添加、删除、重命名等算法。同时给出了实现这些功能的算法图。
Taking the software of information system for production management as an example, the method how to add data information with levels of data list into TreeView controlware by characteristic code, and maintenance of TreeView controlware was analyzed with methods of attribution of TreeView controlware, trigger event and calling function. The algorithm for characteristic code word section added list item by the levels, and algorithm for adding, deletes and renaming of a list item was presented. At the same time, the algorithmic diagram realized above functions was given out.
出处
《兵工自动化》
2003年第6期54-55,共2页
Ordnance Industry Automation