Beispiel #1
0
 public void filterGenre(CS_GenreInfo g)
 {
     if (g == null)
     {
         _genre = null;
         Reload();
     }
     else if (_genre == null)
     {
         _genre    = g;
         _artist   = null;
         _composer = null;
         Reload();
     }
     else
     {
         if (_genre.Genre == g.Genre)
         {
             // do nothing
         }
         else
         {
             _genre    = g;
             _artist   = null;
             _composer = null;
             Reload();
         }
     }
 }
Beispiel #2
0
        public void EvtComposerActivated(object sender, RowActivatedArgs <CS_ComposerInfo> args)
        {
            CS_ComposerInfo a = (CS_ComposerInfo)args.RowValue;

            if (MySource.getComposerModel().isNullComposer(a))
            {
                a = null;
            }
            MySource.getAlbumModel().filterComposer(a);
            MySource.getArtistModel().filterComposer(a);
            SetGrid();
        }
Beispiel #3
0
 public void filterComposer(CS_ComposerInfo c)
 {
     _composer = c;
     Reload();
 }
 public void filterComposer(CS_ComposerInfo g)
 {
     _composer = g;
     Reload();
 }