//=====================================================
 private void FormMassiveNumber_FormClosing(object sender, FormClosingEventArgs e)
 {
     //-------------------------------------------------
     fromleft  = (int)this.numLeftFrom.Value;
     toleft    = (int)this.numLeftTo.Value;
     fromright = (int)this.numRightFrom.Value;
     toright   = (int)this.numRightTo.Value;
     //-------------------------------------------------
     leftsubstract  = (int)this.numSubstractLeft.Value;
     rightsubstract = (int)this.numSubstractRight.Value;
     evenincrements = this.checkEvenIncrements.Checked;
     //-------------------------------------------------
     AldebaranInterface.dropRecording(false);
 }
 //===========================================================
 private void butStopRec_Click(object sender, EventArgs e)
 {
     AldebaranInterface.dropRecording(true);
     stopMassiveSetControls();
 }