예제 #1
0
 void HardwareButtons_BackPressed(object sender, Windows.Phone.UI.Input.BackPressedEventArgs e)//返回键事件
 {
     e.Handled = true;
     if (List.Visibility == Visibility.Collapsed)
     {
         if (Frame.CanGoBack)
         {
             Frame.GoBack();
         }
         else
         {
             Application.Current.Exit();
         }
     }
     else
     {
         DM6.Begin();
     }
 }
예제 #2
0
 private void List_PointerPressed(object sender, PointerRoutedEventArgs e)
 {
     DM6.Begin();//执行动画
 }