Dear,
I'm really new in c# WPF and I need to develop a program that read a directory with sub-directories and files. For each directory I need to create a form and for each file a button.
the directory structure is:
c:\dir1
c:\dir2\subdir1\file.pdf
c:\dir3\subdir1\file1.pdf
c:\dir3\subdir1\file2.pdf
C:\dir3\subdir2\file21.pdf
If it's possible, how can I create it dynamically? I don't like to change the program every time a directory will be added or deleted.