/// <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; }
/// <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; }