Example #1
0
        void HandleAviewSelectionChanged(object sender, EventArgs e)
        {
            int          index = ((Selection)sender).FirstIndex;
            CS_AlbumInfo a     = (CS_AlbumInfo)MySource.getAlbumModel()[index];

            _selected = a.getSheet();
        }
Example #2
0
        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);
            }
        }
Example #3
0
        public void EvtRowActivated(object sender, RowActivatedArgs <AlbumInfo> args)
        {
            CS_AlbumInfo a = (CS_AlbumInfo)args.RowValue;

            PlayAlbum(a);
        }
Example #4
0
 public void PlayAlbum(CS_AlbumInfo a)
 {
     loadCueSheet(a.getSheet());
 }