Beispiel #1
0
 protected virtual void InitializeAppBarButtons()
 {
     prevAppBarButton       = appBars.NewAppBarButton(appBars.assetHome + "appbar.transport.rew.rest.png", "previous", PrevApplicationBar_Click);
     playAppBarButton       = appBars.NewAppBarButton(appBars.assetHome + "appbar.transport.play.rest.png", "play/pause", PlayPauseApplicationBar_Click);
     pauseAppBarButton      = appBars.NewAppBarButton(appBars.assetHome + "appbar.transport.pause.rest.png", "pause", PlayPauseApplicationBar_Click);
     nextAppBarButton       = appBars.NewAppBarButton(appBars.assetHome + "appbar.transport.ff.rest.png", "next", NextApplicationBar_Click);
     playlistAppBarButton   = appBars.NewAppBarButton(appBars.assetHome + "appbar.cloud.download.png", "load", PlaylistApplicationBar_Click);
     refreshMenuItem        = new ApplicationBarMenuItem("refresh");
     refreshMenuItem.Click += (sender, args) => { Refresh_Click(sender, args); };
 }