Пример #1
0
 public void CheckDayFolders(string ImageFolderPath)
 {
     // Create MonthFolders
     string[] directories = Directory.GetDirectories(ImageFolderPath);
     foreach (string d in directories)
     {
         // find all years (4-Digit folders)
         string Year = Path.GetDirectoryName(d);
         if (Year.Length == 4)
         {
             try
             {
                 Convert.ToInt32(Year);
                 YearFolder newYear = new YearFolder(this, Year);
             }
             catch {
             }
         }
     }
 }
Пример #2
0
 public MonthFolder(YearFolder myYearFolder, string Month)
 {
 }