예제 #1
0
        private void BackButton_Click(object sender, RoutedEventArgs e)
        {
            switch (APPDATA.app_data.CURRENT_PAGE)
            {
            case AppPage.HomePage: return;

            case AppPage.AchievementPage:
            case AppPage.OptionPage:
            case AppPage.FreeStylePage:
            case AppPage.SelectChapterPage: APPDATA.app_data.MoveTo(AppPage.HomePage); break;

            case AppPage.GamePage: APPDATA.app_data.MoveTo(AppPage.SelectGamePage, SelectGame.localChapter); break;

            case AppPage.SelectGamePage: APPDATA.app_data.MoveTo(AppPage.SelectChapterPage); break;

            case AppPage.AboutPage: optionFrame.Navigate(typeof(Option)); APPDATA.app_data.MoveTo(AppPage.OptionPage); break;
            }
            BGMPlayer.PlayButton();
        }
예제 #2
0
 private void Achievement_Click(object sender, RoutedEventArgs e)
 {
     BGMPlayer.PlayButton();
     APPDATA.app_data.MoveTo(AppPage.AchievementPage);
     //Frame.Navigate(typeof(Achievement));
 }
예제 #3
0
 private void Option_Click(object sender, RoutedEventArgs e)
 {
     BGMPlayer.PlayButton();
     APPDATA.app_data.MoveTo(AppPage.OptionPage);
     //Frame.Navigate(typeof(Option));
 }
예제 #4
0
 private void Freestyle_Click(object sender, RoutedEventArgs e)
 {
     BGMPlayer.PlayButton();
     APPDATA.app_data.MoveTo(AppPage.FreeStylePage);
 }
예제 #5
0
 private void Game_Click(object sender, RoutedEventArgs e)
 {
     BGMPlayer.PlayButton();
     APPDATA.app_data.MoveTo(AppPage.SelectChapterPage);
 }