//=====================================================
 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);
 }
Esempio n. 2
0
        //===========================================================

        //===========================================================
        private void comboIncrement_SelectedIndexChanged(object sender, EventArgs e)
        {
            //-------------------------------------------------
            int newincrement;

            try
            {
                newincrement = int.Parse(this.comboIncrement.Text);
            }
            catch
            {
                this.comboIncrement.Text = AldebaranInterface.increment.ToString();
                return;
            }
            //-------------------------------------------------
            AldebaranInterface.setNewIncrement(newincrement);
            //-------------------------------------------------
        }
Esempio n. 3
0
 //===========================================================
 private void butStartRec_Click(object sender, EventArgs e)
 {
     AldebaranInterface.startRecording();
     startMassiveSetControls();
 }
Esempio n. 4
0
 //===========================================================
 private void butStopRec_Click(object sender, EventArgs e)
 {
     AldebaranInterface.dropRecording(true);
     stopMassiveSetControls();
 }
Esempio n. 5
0
 //===========================================================
 private void butSkip_Click(object sender, EventArgs e)
 {
     AldebaranInterface.doIncrement();
 }