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(); } } }
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(); }
public void filterComposer(CS_ComposerInfo c) { _composer = c; Reload(); }
public void filterComposer(CS_ComposerInfo g) { _composer = g; Reload(); }