Exemple #1
0
        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);
        }
Exemple #2
0
        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();
        }