Hello, I develop my first application for a client has the objective of managing quotes and invoices, at first I have to choose the directory that contains the quotes. But just once and after it uses the application normally,The selected files are added to a list with the code below
- if (listBox2.SelectedIndex >= 0)
- {
- foreach (DirectoryInfo dr in listBox2.SelectedItems)
- {
- Dossiers.ls_dossier_devis.Add(dr);
- }
- }

- what i have to do ?

Amit GuptaRank #190 · 12.8K reputationPosted Jun 25, 2017, 9:29 AM EDT
Amit GuptaRank #190 · 12.8K reputationPosted Jun 24, 2017, 12:28 PM EDT
Mohamed Moumni44 reputationPosted Jun 25, 2017, 6:58 AM EDT
At first i select the global path with FolderBrowserDialogue . I have to serialize it , for next time when application runs upload automatically the directories from serialized path
Mohamed Moumni44 reputationPosted Jun 25, 2017, 6:08 PM EDT