Exemple #1
0
 public static void RestorePlaylistFileDirectories(PlaylistFileControl playlistFileControl)
 {
     foreach (string dir in Properties.Settings.Default.PlaylistDirectories)
     {
         playlistFileControl.ViewModel.AddDirectory(dir);
     }
 }
Exemple #2
0
 public static void StorePlaylistFileDirectories(PlaylistFileControl playlistFileControl)
 {
     Properties.Settings.Default.PlaylistDirectories.Clear();
     foreach (FileDirectory dir in playlistFileControl.ViewModel.fileLoader.Directories)
     {
         Properties.Settings.Default.PlaylistDirectories.Add(dir.directory);
     }
 }