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

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

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