2012年6月7日
摘要: DirectoryInfo TheFolder=new DirectoryInfo(folderFullName);//遍历文件夹foreach(DirectoryInfo NextFolder in TheFolder.GetDirectories()) this.listBox1.Items.Add(NextFolder.Name);//遍历文件foreach(FileInfo NextFile in TheFolder.GetFiles()) this.listBox2.Items.Add(NextFile.Name);================================== 阅读全文
posted @ 2012-06-07 16:19 Jarrett.zhou 阅读(130) 评论(0) 推荐(0) 编辑