示例#1
0
        private void AlbumPlayButton_Tap(object sender, System.Windows.Input.GestureEventArgs e)
        {
            if (CurrentGroup == null)
            {
                return;
            }

            RemoteUtility.HandleLibraryPlayTask(CurrentGroup.Play());
            e.Handled = true;
        }
示例#2
0
        protected override void InitializeApplicationBar()
        {
            base.InitializeApplicationBar();

            AddApplicationBarMenuItem(LocalizedStrings.BrowseArtistPlayAllSongs, () =>
            {
                if (CurrentGroup == null)
                {
                    return;
                }

                RemoteUtility.HandleLibraryPlayTask(CurrentGroup.Play());
            });
        }