Exemplo n.º 1
0
        private void PhoneApplicationPage_BackKeyPress(object sender, CancelEventArgs e)
        {
            e.Cancel = UnityApp.BackButtonPressed();


            btnBuy.Visibility   = System.Windows.Visibility.Visible;
            btnPause.Visibility = System.Windows.Visibility.Collapsed;
        }
Exemplo n.º 2
0
 private void PhoneApplicationPage_BackKeyPress(object sender, CancelEventArgs e)
 {
     // If the Facebook overlay is visible, hide it
     if (MainPage.Current.FacebookGrid.Visibility == Visibility.Visible)
     {
         MainPage.Current.FacebookGrid.Visibility = Visibility.Collapsed;
         e.Cancel = true;
     }
     else
     {
         e.Cancel = UnityApp.BackButtonPressed();
     }
 }
Exemplo n.º 3
0
        /*private void Unity_Loaded()
         * {
         * }*/

        private void PhoneApplicationPage_BackKeyPress(object sender, CancelEventArgs e)
        {
            e.Cancel = UnityApp.BackButtonPressed();
        }