internal void LoadScores(Scores _Scores)//(object sender, RoutedEventArgs e)
 {
     this._Scores = _Scores;
     this.Dispatcher.Invoke(new Action(RefreshScores));
 }
Exemple #2
0
 private void PersistScore(Score _Score)
 {
     this.GameScores.Add(_Score);
     Scores.SerializeData(this.GameScores);
     this.LoadScores();
 }
Exemple #3
0
 internal static Scores SortByDateDesc(Scores Scores)
 {
     Scores.Sort(CompareDate);
     Scores.Reverse();
     return(Scores);
 }
Exemple #4
0
 internal static Scores SortByDate(Scores Scores)
 {
     Scores.Sort(CompareDate);
     return(Scores);
 }
Exemple #5
0
 public Game()
 {
     //this.
     Scores.DeserializeFromXML(ref this.GameScores);
 }
Exemple #6
0
 void ScoreContainer_CellEditEnding(object sender, DataGridCellEditEndingEventArgs e)
 {
     Scores.SerializeData(this.GAME.GameScores);
     //this.MainWindow.ScoreContainer.
 }