Search Forum
(53671 Postings)
Search Site/Articles

Archived Articles
712 Articles

C# Books
C# Consultants
What Is C#?
Download Compiler
Code Archive
Archived Articles
Advertise
Contribute
C# Jobs
Beginners Tutorial
C# Contractors
C# Consulting
Links
C# Manual
Contact Us
Legal

GoDiagram for .NET from Northwoods Software www.nwoods.com


 
Printable Version

Using Directory TreeView
By John Carto

After submitting my Directory Tree example I thought I should create something to demonstrate it's use. Included in this example is an updated version of my Directory Treeview example. I have fixed a couiple of minor bugs and added icons to the display. There is more that could be done yet.

This is a simple file manager which will demonstrate the following things:

Using the Directory treeview in a parent program
Managing simple file functions (open/edit/move/rename/delete)
Managing file attributes
Recursive directory/file searching (based on various criteria)
How to use the Listview  control
How to sort columns in the listview control
How to use the Tab Control
How to create popup menus
How to resize components in your form dynamically
Getting user input from a modal form
Passing objects by reference
Running external programs from your code
I have not commented this as heavily as the treeview example, but I think it is not too bad to follow if you take it one piece at a time.

I really hope this helps someone out there?
Good Luck!

Downlaod FileFind.zip