Example #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     _right.Undo();
     RefreshBoxes(_right.Matrix, _rightBoxes);
     if (_right is TimeDecorator timeDecorator)
     {
         timeLabel.Text = timeDecorator.Time + " ms";
     }
 }
 /// <summary>
 /// Calls Undo method of MatrixFacade instance.
 /// </summary>
 public virtual void Undo()
 {
     _facade.Undo();
 }