public MasterViewModel(Window parent)
 {
     this._parent = parent;
     this._library = new Library();
     this._musicList = null;
     this.ImageVisibility = "Hidden";
     this.MusicVisibility = "Visible";
     this._filterList = new ObservableCollection<FilterViewModel>();
     this._musicList = new ObservableCollection<AudioViewModel>();
     this._imageList = new ObservableCollection<ImageViewModel>();
     this.setFilterCollectionView();
 }
        private void LoadLib()
        {
            var dialog = new System.Windows.Forms.OpenFileDialog();
            dialog.DefaultExt = "xml";
            dialog.ShowDialog();
            if (dialog.FileName != "")
            {

                this._filterList.Clear();
                this._library = new Library(dialog.FileName);
                this.setFilterCollectionView();
            }
        }