private void BuildLocalizedApplicationBar()
        {
            ApplicationBar = new ApplicationBar();

            var appBarButton = new CM.AppBarButton()
            {
                IconUri = new Uri("/Assets/sort.png", UriKind.Relative),
                Text = AppResources.LineInfo_AppBar_Direction,
                Message = "ChangeDirection"
            };

            ApplicationBar.Buttons.Add(appBarButton);
        }
        private void BuildLocalizedApplicationBar()
        {
            ApplicationBar = new ApplicationBar();

            var addToFavsAppBarButton = new CM.AppBarButton()
            {
                IconUri = new Uri("/Assets/favs.addto.png", UriKind.Relative),
                Text = AppResources.StationInfo_AppBar_Favorite,
                Message = "AddToFavorites"
            };

            ApplicationBar.Buttons.Add(addToFavsAppBarButton);

            var shareAppBarButton = new CM.AppBarButton()
            {
                IconUri = new Uri("/Assets/share.png", UriKind.Relative),
                Text = AppResources.StationInfo_AppBar_Share,
                Message = "Share"
            };

            ApplicationBar.Buttons.Add(shareAppBarButton);

            var walkToAppBarButton = new CM.AppBarButton()
            {
                IconUri = new Uri("/Assets/map.centerme.png", UriKind.Relative),
                Text = AppResources.StationInfo_AppBar_WalkTo,
                Message = "WalkTo"
            };

            ApplicationBar.Buttons.Add(walkToAppBarButton);

            var refreshAppBarButton = new CM.AppBarButton()
            {
                IconUri = new Uri("/Assets/refresh.png", UriKind.Relative),
                Text = AppResources.StationInfo_AppBar_Refresh,
                Message = "RefreshDepartureInformation"
            };

            ApplicationBar.Buttons.Add(refreshAppBarButton);
        }
        private void BuildLocalizedApplicationBar()
        {
            ApplicationBar = new ApplicationBar();

            var mapAppBarButton = new CM.AppBarButton()
            {
                IconUri = new Uri("/Assets/map.centerme.png", UriKind.Relative),
                Text = AppResources.Stations_AppBar_Map,
                Message = "ShowOnMap"
            };

            ApplicationBar.Buttons.Add(mapAppBarButton);

            var refreshAppBarButton = new CM.AppBarButton()
            {
                IconUri = new Uri("/Assets/refresh.png", UriKind.Relative),
                Text = AppResources.Stations_AppBar_Refresh,
                Message = "RefreshPosition"
            };

            ApplicationBar.Buttons.Add(refreshAppBarButton);
        }