Ejemplo n.º 1
0
 private void TimeCounter_Tick(object sender, object e)
 {
     countDownTime     = countDownTime.AddSeconds(-1);
     txtTimeCount.Text = string.Format("{0}:{1}", countDownTime.Minute.ToString().PadLeft(2, '0'), countDownTime.Second.ToString().PadLeft(2, '0'));
     if (countDownTime.Year < 2017)
     {
         timeCounter.Stop();
         mainView.NavigatedTo(typeof(DectionResultView));
     }
 }
Ejemplo n.º 2
0
 private void btnCloseDoor_PointerPressed(object sender, PointerRoutedEventArgs e)
 {
     mainView.NavigatedTo(typeof(DectionView), cboxTestType.SelectedItem.ToString());
 }
Ejemplo n.º 3
0
 private void StackPanel_PointerPressed(object sender, PointerRoutedEventArgs e)
 {
     mainView.NavigatedTo(typeof(PreDectionView));
 }