Esempio n. 1
0
 /// <summary>
 /// Removes the image of the figure in the current cell and draws it to the new cell.
 /// Changes the position of the requested figure to the new requested cell
 /// </summary>
 /// <param name="figureToMove">The figure to be moved</param>
 /// <param name="newCell">The new cell where the figure will be positioned</param>
 private void MoveFigure(IFigure figureToMove, ICell newCell)
 {
     this.rendrer.ChangeImagePosition(figureToMove, newCell);
     figureToMove.ChangePosition(newCell, this.table);
 }