Ejemplo n.º 1
0
 public void Redo(PaintCanvas canvas)
 {
     foreach (CharChangeInfo info in ChangedCharacters)
     {
         canvas.CellRows[info.y][info.x].Character = info.newchar;
     }
     canvas.CompleteRepaint();
 }
Ejemplo n.º 2
0
 public void Redo(PaintCanvas canvas)
 {
     foreach (Point p in PaintedPoints)
     {
         if (IsForeground)
         {
             canvas.CellRows[p.Y][p.X].ForeColor = NewPaintColor;
         }
         else
         {
             canvas.CellRows[p.Y][p.X].BackColor = NewPaintColor;
         }
     }
     canvas.RepaintAll();
 }