예제 #1
0
 public ViewData(string name)
     : base(name)
 {
     FileHandler file = new FileHandler();
     foreach (string s in file.GetDirectorySubfolders(file.Files))
     {
         GameViewModel game = new GameViewModel(Path.GetFileName(s), s);
         Games.Add(game);
     }
 }