public SwitchToBookView ( Banshee.Collection.Database.DatabaseAlbumInfo book ) : void | ||
book | Banshee.Collection.Database.DatabaseAlbumInfo | |
return | void |
private void OnOpen(object o, EventArgs a) { var index = library.BooksModel.Selection.FocusedIndex; if (index > -1) { var book = library.BooksModel[index]; library.SwitchToBookView(book as DatabaseAlbumInfo); } }