private void btnEnter_Tap(object sender, System.Windows.Input.GestureEventArgs e)
 {
     if (!CurStations().Contains(tbStation.Text))
     {
         MessageBox.Show("不存在的站牌:" + tbStation.Text);
         return;
     }
     NavigationService.Navigate(new Uri(
                                    "/AddBusStationTag.xaml?busName={0}&station={1}&dir={2}"
                                    .Fmt(m_busName, tbStation.Text, m_dir.ToString()), UriKind.Relative));
 }
Esempio n. 2
0
 private void btnEnter_Tap(object sender, System.Windows.Input.GestureEventArgs e)
 {
     //App.RecusiveBack = true;
     NavigationService.Navigate(new Uri("/MainPage.xaml?Op=Add&busName={0}&station={1}&dir={2}&tag={3}".Fmt(m_busName, m_station,
                                                                                                            m_dir.ToString(), tbTag.Text), UriKind.Relative));
 }