private void ButtonBack_Click(object sender, RoutedEventArgs e) { Game.Visibility = Visibility.Hidden; StackMenu.Visibility = Visibility.Visible; Rating.CheckRating(Board.Score, Player.Text); Continue.WriteOnFile(Board.Letters, Board.Size); }