Ejemplo n.º 1
0
 private void copyButton1_Click(object sender, EventArgs e)
 {
     TakeBoxes(_left.Matrix, _leftBoxes);
     _buffer = _left.Copy();
     if (_left is TimeDecorator timeDecorator)
     {
         timeLabel.Text = timeDecorator.Time + " ms";
     }
 }
 /// <summary>
 /// Calls Copy method of MatrixFacade instance.
 /// </summary>
 /// <returns>Matrix copy.</returns>
 public virtual IPrototype Copy()
 {
     return(_facade.Copy());
 }
Ejemplo n.º 3
0
 private void copyButton2_Click(object sender, EventArgs e)
 {
     TakeBoxes(_right.Matrix, _rightBoxes);
     _buffer = _right.Copy();
 }