By John Carto
The Directory Dialog which accompanies this file is written in C# using the standard edition.
This dialog shows the use of the TreeView Control in a useful dialog that Microsoft forgot to
include in the C# distribution. It really annoyed me to see them omit the ability to create a
TreeView of just directories when they already had the File Dialog. Would have been a breeze
for them to allow for displaying directories only. I suppose one good thing about it is I had to
learn the TreeView dialog to create this.
The code is full of comments for beginners to follow, and the program provides a very nice clean
directory selection mechanism.
Feel free to use in any project as long as you maintain the copyright notices.
Copyright John Carto 2002
Download DirectoryDialog.zip