Ejemplo n.º 1
0
 private void Button_playInfo_Click(object sender, RoutedEventArgs e)
 {
     if ((Application.Current as App).homepage != null && (Application.Current as App).homepage.Frame.CanGoBack)
     {
         (Application.Current as App).homepage.Frame.GoBack();
     }
     else
     {
         if (PlayingService.PlayingSong == null)
         {
             return;
         }
         Frame_all.Navigate(typeof(PlayingPage));
     }
 }
Ejemplo n.º 2
0
 private void MainPage_Loaded(object sender, RoutedEventArgs e)
 {
     Frame_all.Navigate(typeof(Home));
 }