This is simple software like Windows Explorer. Of course it’s very simple but in this sample I have covered usage of some of the classes in System.IO namespace such as Path, FileInfo, DriveInfo, FileSystemWatcher, DirectoryInfo.
TreeView is loading it’s nodes On Demand which is an applicable way used in real applications। If you double click on a text file it will be opened in a new window which. I have used StreamReader and StreamWriter classes to implement reading/writing text files. Other file type will be opened by a BinaryReader for you to show the Binary data inside them.Please let me know if there any error or question within this sample.
Download