public void DeleteAllComentary() { for (int i = 0; i < Moves.Count; i++) { Move m = Moves[i]; m.Game = this; m.DeleteComments(); Notations.SetNotationView(m); } CurrentMove.DeleteComments(); Notations.SetNotation(CurrentMove, "", false, true); }
public void DeleteComentary(int moveId) { for (int i = 0; i < Moves.Count; i++) { Move m = Moves[i]; if (m.Id == moveId) { m.Game = this; m.DeleteComments(); Notations.SetNotationView(m); break; } } CurrentMove.DeleteComments(); }