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