//===================================================== 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 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); //------------------------------------------------- }
//=========================================================== private void butStartRec_Click(object sender, EventArgs e) { AldebaranInterface.startRecording(); startMassiveSetControls(); }
//=========================================================== private void butStopRec_Click(object sender, EventArgs e) { AldebaranInterface.dropRecording(true); stopMassiveSetControls(); }
//=========================================================== private void butSkip_Click(object sender, EventArgs e) { AldebaranInterface.doIncrement(); }