7     partial class ConfigurationControl
 
   13         private void InitTurnTableValues()
 
   15             this.textBoxTableX.Text = this.configuration.Turntable.WorldCoordinates.X.ToString(CultureInfo.InvariantCulture);
 
   16             this.textBoxTableX.TextChanged += this.TextBoxTableXOnTextChanged;
 
   18             this.textBoxTableY.Text = this.configuration.Turntable.WorldCoordinates.Y.ToString(CultureInfo.InvariantCulture);
 
   19             this.textBoxTableY.TextChanged += this.TextBoxTableYOnTextChanged;
 
   21             this.textBoxTableZ.Text = this.configuration.Turntable.WorldCoordinates.Z.ToString(CultureInfo.InvariantCulture);
 
   22             this.textBoxTableZ.TextChanged += this.TextBoxTableZOnTextChanged;
 
   24             this.textBoxRadius.Text = this.configuration.Turntable.Radius.ToString(CultureInfo.InvariantCulture);
 
   25             this.textBoxRadius.TextChanged += this.TextBoxRadiusOnTextChanged;
 
   27             this.numericSafetyDistance.Value = this.configuration.Turntable.SafetyDistance;
 
   28             this.numericSafetyDistance.ValueChanged += this.NumericSafetyDistanceOnValueChanged;
 
   30             this.numericSteps.Value = this.configuration.Motor.Steps;
 
   31             this.numericSteps.ValueChanged += this.NumericStepsOnValueChanged;
 
   33             this.numericMicroSteps.Value = this.configuration.Motor.MicroSteps;
 
   34             this.numericMicroSteps.ValueChanged += this.NumericMicroStepsOnValueChanged;
 
   36             this.checkBoxMicroStepsEnabled.Checked = this.configuration.Motor.MicroStepsEnabled;
 
   37             this.checkBoxMicroStepsEnabled.CheckStateChanged += this.CheckBoxMicroStepsEnabledOnCheckStateChanged;
 
   47         private void TextBoxTableXOnTextChanged(
object sender, EventArgs eventArgs)
 
   49             this.configuration.Turntable.WorldCoordinates.X = 
float.Parse(this.textBoxTableX.Text);
 
   59         private void TextBoxTableYOnTextChanged(
object sender, EventArgs eventArgs)
 
   61             this.configuration.Turntable.WorldCoordinates.Y = 
float.Parse(this.textBoxTableY.Text);
 
   71         private void TextBoxTableZOnTextChanged(
object sender, EventArgs eventArgs)
 
   73             this.configuration.Turntable.WorldCoordinates.Z = 
float.Parse(this.textBoxTableZ.Text);
 
   84         private void TextBoxRadiusOnTextChanged(
object sender, EventArgs eventArgs)
 
   86             this.configuration.Turntable.Radius = 
float.Parse(this.textBoxRadius.Text);
 
   97         private void NumericSafetyDistanceOnValueChanged(
object sender, EventArgs eventArgs)
 
   99             this.configuration.Turntable.SafetyDistance = (int)this.numericSafetyDistance.Value;
 
  109         private void NumericStepsOnValueChanged(
object sender, EventArgs eventArgs)
 
  111             this.configuration.Motor.Steps = (int) this.numericSteps.Value;
 
  121         private void NumericMicroStepsOnValueChanged(
object sender, EventArgs eventArgs)
 
  123             this.configuration.Motor.MicroSteps = (int) this.numericMicroSteps.Value;
 
  133         private void CheckBoxMicroStepsEnabledOnCheckStateChanged(
object sender, EventArgs eventArgs)
 
  135             this.configuration.Motor.MicroStepsEnabled = this.checkBoxMicroStepsEnabled.Checked;
 
  140         private void buttonLoadTurntableDefauts_Click(
object sender, EventArgs e)
 
  142             this.DetachTurntableEvents();
 
  145             this.InitTurnTableValues();
 
  148         private void DetachTurntableEvents()
 
  150             this.textBoxTableX.TextChanged -= this.TextBoxTableXOnTextChanged;
 
  151             this.textBoxTableY.TextChanged -= this.TextBoxTableYOnTextChanged;
 
  152             this.textBoxTableZ.TextChanged -= this.TextBoxTableZOnTextChanged;
 
  153             this.textBoxRadius.TextChanged -= this.TextBoxRadiusOnTextChanged;
 
  154             this.numericSafetyDistance.ValueChanged -= this.NumericSafetyDistanceOnValueChanged;
 
  155             this.numericSteps.ValueChanged -= this.NumericStepsOnValueChanged;
 
  156             this.numericMicroSteps.ValueChanged -= this.NumericMicroStepsOnValueChanged;
 
  157             this.checkBoxMicroStepsEnabled.CheckStateChanged -= this.CheckBoxMicroStepsEnabledOnCheckStateChanged;
 
static Motor CreateDefaultMotor()
Creates the default motor. 
 
static Turntable CreateDefaultTurntable()
Creates the default turntable. 
 
Class for accessing the configuration.