Example #1
0
 private void loadFromXml()
 {
     if (File.Exists(strDownloadPath + "\\allFiles.xml"))
     {
         string xml = File.ReadAllText(strDownloadPath + "\\allFiles.xml");
         allFiles = (SeDes.ToObj(xml, allFiles) as List <file>);
     }
 }
Example #2
0
        private void saveToXml()
        {
            string xmlser = SeDes.ToXml(allFiles);

            File.WriteAllText(strDownloadPath + "\\allFiles.xml", xmlser);
        }