Exemplo n.º 1
0
 // Load saved items from the Registry.
 private void LoadFiles()
 {
     // Reload items from the registry.
     for (int i = 0; i < NumFiles; i++)
     {
         string file_name = (string)RegistryTools.GetSetting(
             ApplicationName, "FilePath" + i.ToString(), "");
         if (file_name != "")
         {
             FileInfos.Add(new FileInfo(file_name));
         }
     }
 }