/// <summary> /// The constructor after a game /// </summary> public HighScores(HighScoreLogic highScores, UserScore score) { try { this.highScores = highScores; InitializeComponent(); FillHighScores(); lblYourScore.Visibility = Visibility.Visible; lblCurrentScore.Content = score.ToString(); } catch (Exception ex) { HandleError(MethodInfo.GetCurrentMethod().DeclaringType.Name, MethodInfo.GetCurrentMethod().Name, ex.Message); } }