读取磁盘(c#流 文件)
来源:互联网 发布:小天才电话手表软件 编辑:程序博客网 时间:2024/05/22 02:23
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.IO;namespace xianshi{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { DriveInfo[] di = DriveInfo.GetDrives(); foreach (DriveInfo d in di) { comboBox1.Items.Add(d.Name); } } private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { treeView1.Nodes.Clear(); foreach (string str in Directory.GetDirectories(comboBox1.Text)) { TreeNode node = new TreeNode(); node.Text = str; treeView1.Nodes.Add(node); } } }}c#简单的读取文件
0 0
- 读取磁盘(c#流 文件)
- C#直接读取磁盘文件(类似linux的Direct IO模式)
- sql2005调用c# dll 读取磁盘文件总结
- 读取磁盘文件 删除
- 读取磁盘文件
- 读取磁盘文件
- C#读取文件流
- c# 读取文件流
- T-SQL: 读取磁盘文件
- T-SQL:读取磁盘文件
- C#顺序读取文件流
- 将读取到的文件流写入到磁盘上
- C# 把文件和文件夹 放到回收站 (出现Unknown err (0x402) 无法删除 文件:无法读取源文件或磁盘 解决)
- RAW READ ~~~ 从磁盘读取文件
- 读取磁盘图片文件并显示
- 读取磁盘图片文件并显示
- java 读取磁盘文件和文件
- GDI利用CImage读取磁盘文件
- 1033. To Fill or Not to Fill (25) (贪心好题)
- android:intnet
- generative model and discriminative model
- iOS打电话方式
- iOS NSURLConnection GET和POST
- 读取磁盘(c#流 文件)
- 相机镜头镀膜运用的光学原理?
- 关于Android中使用SVG特性的探索与总结
- sphinx在windows下的安装
- JavaEE_Mybatis_SpringMVC_Mybatis_lesson10__利用foreach标签_拼接SQL串,实现IN(X,Y,Z,...的形式)
- 对android虚拟机的理解,包括内存管理机制垃圾回收机制。dalvik和art区别
- 修改系统的TIME_WAIT等待时间和其它的TCP属性
- 2015年11月小结
- java希尔排序算法