-3

I would like to display a directory. It should be as such as the Solution Explorer in Visual Studio looks like. (Treeview or something like that)

So that I (as an User) can also move files for example, dragging file A to Folder B and so on..

Hope u guys can help me..

eMi
  • 5,540
  • 10
  • 60
  • 109
  • http://stackoverflow.com/questions/3000899/binding-directory-to-treeview-in-c-with-visual-studios http://stackoverflow.com/questions/2263013/winforms-treeview-recursive-directory-listing http://stackoverflow.com/questions/6840629/how-to-get-client-file-system-directories-in-treeview-asp-net-c – Prisoner Aug 16 '11 at 09:12
  • showing is no problem, but how to enable "moving" or "deleting" files! – eMi Aug 16 '11 at 09:12
  • http://stackoverflow.com/questions/542378/embedding-a-file-explorer-instance-in-a-winforms-app-form – Prisoner Aug 16 '11 at 09:15
  • only the last link (the answer of the question) helped me.. And my English also sucks, thats the reason, why I didn't search on stackoverflow before.. – eMi Aug 16 '11 at 09:17
  • try some jquery treeview http://www.programmingsolution.net/useful-js/jquery-treeview.php – Pragnesh Patel Aug 16 '11 at 09:20
  • thx 4 answer, but I'm not creating a Website – eMi Aug 16 '11 at 09:23

1 Answers1

0

For Deleting, an item in the tree view, you gotta write logic by yourself. First hook an generic popup menu for each treeview items. Then rightclick display it. Upon selection of deletion, take that item delete it and update the view.

Zenwalker
  • 1,883
  • 1
  • 14
  • 27