Exemplo n.º 1
0
        private void SaveSettings()
        {
            Settings.BSP[_index] = _bsz;
            Settings.HSP[_index] = _hsz;

            _handbell.UpdateSettings();
        }
Exemplo n.º 2
0
        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;
            }
        }
Exemplo n.º 3
0
        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);
            }
        }