private void GMBLibraryContentChangedEventHandler(object sender, GMBEventArgs e) { TblAdp_Files = new GMBAudioLibDataSetTableAdapters.FILESTableAdapter(); DtaTbl_Files = TblAdp_Files.GetData(); DataView dataView = DtaTbl_Files.DefaultView; LstBox_LibView.ItemsSource = dataView; //DtaTbl_Files = }
void ManageLibrary_PlaylistContentChanged(object sender, GMBEventArgs e) { GlobalVars.TblAdp_Pl = new GMBAudioLibDataSetTableAdapters.PLAYLISTSTableAdapter(); GlobalVars.DtaTbl_Pl = GlobalVars.TblAdp_Pl.GetData(); GlobalVars.TblAdp_Pl.Fill(GlobalVars.DtaTbl_Pl); DataView dataView = GlobalVars.DtaTbl_Pl.DefaultView; GMBAudioLibDataSetTableAdapters.SongsInPlaylistTableAdapter TblAdp_SongsInPl = new GMBAudioLibDataSetTableAdapters.SongsInPlaylistTableAdapter(); GMBAudioLibDataSet.SongsInPlaylistDataTable SongsInCurrentPl = TblAdp_SongsInPl.GetSongsInPlaylist(GlobalVars.CurrentPlaylist); GlobalVars.SongsInCurrentPl = SongsInCurrentPl; GlobalVars.TblAdp_SongsInPl = TblAdp_SongsInPl; LstBox_Pl.ItemsSource = null; LstBox_Pl.ItemsSource = dataView; }
private void onLibraryChanged(object sender, GMBEventArgs e) { }