当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 功能:把选定文件夹下的dll、子文件夹和子文件夹中的dll填写到窗体的treeview控件上。
 

 

    摘要:screensaver.csusing system;using system.windows.forms;namespace screensaver{ public class dotnetscreensaver { [stathread] static void main(string[] args) { if (args.length > 0) { if (args[0].tolowe......
 ·算法讨论:哲学家就餐问题     »显示摘要«
    摘要:in 1965, dijkstra posed and solved a synchronization problem he called thedining philosophers problem. ........ the problem can be stated quite simplyas follows. five philosophers are seated around a ......


多线程填写treeview控件(vb.net)

功能:把选定文件夹下的dll.子文件夹与子文件夹中的dll填写到窗体的treeview控件上.

实现:imagelist中的图片需要自己重新定义. 【程序编程相关:VB编辑ListView的SubItem

缺点:窗体简单,代码有些混乱,线程之间的调用可能没有到最优化. 【推荐阅读:c#.net常用的小函数和方法集

多线程的编写:结构合理.注意同步. 【扩展信息:用VB.NET写的一个简易的RSS阅读器

多线程的优点:可以及时响应用户的操作,不至于产生“未响应”的尴尬;设计合理(结合需求)的话,可使软件的性能提高.

以上是我对这个例程与多线程的个人体会,如有不妥之处,还请大家批评指正.

imports system.iopublic class form1    inherits system.windows.forms.form

#region " windows 窗体设计器生成的代码 "

    public sub new()        mybase.new()

        该调用是 windows 窗体设计器所必需的.        initializecomponent()

        在 initializecomponent() 调用之后添加任何初始化

    end sub

    窗体重写 dispose 以清理组件列表.    protected overloads overrides sub dispose(byval disposing as boolean)        if disposing then            if not (components is nothing) then                components.dispose()            end if        end if        mybase.dispose(disposing)    end sub


...   下一页
 ·我们所要关注的是什么?     »显示摘要«
    摘要:这是我给公司的同事培训c#时同事的提问的问题,我把问题归纳后写了出来。 问题 c#和vb.net 都是.net 中的一种编程语言,而对于.net 本身来说,无论用那种语言编写的程序,在编译器中都会转化成中间语言,而他们所使用的底层类库和支持服务都为一样的,都是建立和运行在microsoft .net framework sdk 之上的程序,所以我觉得对于c#和vb.net只是语言不用,实现和具体编......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE