2009年7月8日
摘要: VS2005环境下,新建一个window窗体:命名多线程应用完整代码:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using S... 阅读全文
posted @ 2009-07-08 12:33 芊芊 阅读(6459) 评论(1) 推荐(1) 编辑
摘要: C#遍历指定文件夹中的所有文件 DirectoryInfo TheFolder=new DirectoryInfo(folderFullName);//遍历文件夹foreach(DirectoryInfo NextFolder in TheFolder.GetDirectories()) this.listBox1.Items.Add(NextFolder.Name);//遍历文件foreach(... 阅读全文
posted @ 2009-07-08 11:05 芊芊 阅读(108993) 评论(6) 推荐(5) 编辑