private void Pin_Clicked(object sender, EventArgs e)
        {
            bool ret = TilesApp.CreateTile(ViewModel.Stop, ViewModel.Route);

            if (ret == false)
            {
                MessageBox.Show("A kijelölt elemről már létrehozott egy csempét!");
                Tiles.UpdateTile(ViewModel.Stop, ViewModel.Route);
            }
        }
Exemple #2
0
        private void Pin_Clicked(object sender, EventArgs e)
        {
            bool ret = TilesApp.CreateTile(Stop, Trip.Route);

            if (ret == false)
            {
                //TODO MAGYAR SZÖVEG
                MessageBox.Show(App.Common.Services.Resources.LocalizedStringOf("PinAlreadyDone"));
                Tiles.UpdateTile(Stop, Trip.Route);
            }
        }
        private void PinToStart_Click(object sender, RoutedEventArgs e)
        {
            var selected = (sender as FrameworkElement).DataContext as RouteStopModel;

            bool ret = TilesApp.CreateTile(selected.Stop, selected.Route);

            if (ret == false)
            {
                MessageBox.Show(AppResources.TileAlreadyDone);
                Tiles.UpdateTile(selected.Stop, selected.Route);
            }
        }