Mohamed Moumni

Mohamed Moumni

  • NA
  • 48
  • 8.4k

how to serialize a directories from a path ?

Jun 24 2017 4:21 PM
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 <directory> with the code below
 
  1. if (listBox2.SelectedIndex >= 0)  
  2. {  
  3.     foreach (DirectoryInfo dr in listBox2.SelectedItems)  
  4.     {  
  5.           
  6.         Dossiers.ls_dossier_devis.Add(dr);  
  7.   
  8.     }  
  9. what i have to do ?
 

Answers (4)