void HandleAviewSelectionChanged(object sender, EventArgs e) { int index = ((Selection)sender).FirstIndex; CS_AlbumInfo a = (CS_AlbumInfo)MySource.getAlbumModel()[index]; _selected = a.getSheet(); }
public void OpenContainingFolder(CS_AlbumInfo a) { CueSheet s = a.getSheet(); string path = System.IO.Path.GetDirectoryName(s.cueFile()); if (Banshee.IO.Directory.Exists(path)) { System.Diagnostics.Process.Start(path); } }
public void EvtRowActivated(object sender, RowActivatedArgs <AlbumInfo> args) { CS_AlbumInfo a = (CS_AlbumInfo)args.RowValue; PlayAlbum(a); }
public void PlayAlbum(CS_AlbumInfo a) { loadCueSheet(a.getSheet()); }