Пример #1
0
        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 =
        }
Пример #2
0
        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;
        }
Пример #3
0
 private void onLibraryChanged(object sender, GMBEventArgs e)
 {
 }
Пример #4
0
 private void onLibraryChanged(object sender, GMBEventArgs e)
 {
 }
Пример #5
0
        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;
        }
Пример #6
0
        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 =
        }