Example #1
0
 protected override bool DoExecute()
 {
     _oldCell = Canvas.CurrentCell.Clone();
     Canvas.Plot();
     _newCell = Canvas.CurrentCell.Clone();
     return(_oldCell ! != _newCell !);
 }
Example #2
0
 private bool Replot(Cell?from, Cell?to)
 {
     if (to is null || to == from !)
     {
         return(false);
     }
     Canvas.Plot(to);
     return(true);
 }