private void SaveSettings() { Settings.BSP[_index] = _bsz; Settings.HSP[_index] = _hsz; _handbell.UpdateSettings(); }
public Handbell StartCalibration(MotionControllerManager.MotionControllerManager manager, int index) { _handbell = new Handbell(manager, index); _question = 0; _index = index; AskQuestion(); if (ShowDialog() == DialogResult.OK) { _handbell.UpdateSettings(); Close(); return _handbell; } else { Close(); return null; } }
public Handbell StartCalibration(MotionControllerManager.MotionControllerManager manager, int index) { _handbell = new Handbell(manager, index); _question = 0; _index = index; AskQuestion(); if (ShowDialog() == DialogResult.OK) { _handbell.UpdateSettings(); Close(); return(_handbell); } else { Close(); return(null); } }