Esempio n. 1
0
 /// <summary>
 /// Game begin.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnGameBegin_Click(object sender, RoutedEventArgs e)
 {
     backgroundMusic.PlayButtonPress();
     //Show game level
     mainWindowModel.PageLabel = Config.GameLevelPageName;
 }
Esempio n. 2
0
 /// <summary>
 /// Go back to home page
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Home_Click(object sender, RoutedEventArgs e)
 {
     musicPlayer.PlayButtonPress();
     mainWindowModel.PageLabel = Config.MainPageName;
 }