예제 #1
0
        private void LoadData(string catalog, string album)
        {
            _dataLoaded = false;


            var songs = DataGetSet.GetSongs(catalog, album);

            datagrid.ItemsSource = songs;
            _dataLoaded          = true;
        }
예제 #2
0
        private void LoadData()
        {
            _dataLoaded           = false;
            DataGetSet.Datasource = DataGetSet.DataSourceEnum.Songs;

            var songs = DataGetSet.GetSongs("Annette", "VHS = Burning Boots 1998");

            datagrid.ItemsSource = songs;
            _dataLoaded          = true;
        }