Пример #1
0
 //=====================================================
 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);
 }
Пример #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);
            //-------------------------------------------------
        }
Пример #3
0
 //===========================================================
 private void butStartRec_Click(object sender, EventArgs e)
 {
     AldebaranInterface.startRecording();
     startMassiveSetControls();
 }
Пример #4
0
 //===========================================================
 private void butStopRec_Click(object sender, EventArgs e)
 {
     AldebaranInterface.dropRecording(true);
     stopMassiveSetControls();
 }
Пример #5
0
 //===========================================================
 private void butSkip_Click(object sender, EventArgs e)
 {
     AldebaranInterface.doIncrement();
 }