Exemplo n.º 1
0
 public LibraryViewModel()
 {
     global = true;
     _img = Image_filter.None;
     _vid = Video_filter.None;
     _aud = Audio_filter.None;
     librarylist = new List<MediaContent>();
     _PlaylistList = new List<String>();
     _LibraryList = CollectionViewSource.GetDefaultView(librarylist);
 }
Exemplo n.º 2
0
 public bool activate_image_filter(int index)
 {
     if (index >= 0 && index < _PlaylistList.Count && (index + 1) <= (int)Image_filter.Genre)
     {
         _img = (Image_filter)(index + 1);
         return true;
     }
     return false;
 }