private void MassTextBox_TextChanged(object sender, TextChangedEventArgs e) { ControlValidation.TextBoxValueChanged(MassTextBox, BobMassSlider); }
private void DampingTextBox_TextChanged(object sender, TextChangedEventArgs e) { ControlValidation.TextBoxValueChanged(DampingTextBox, DampingSilder); }
private void GravitationalFieldStrengthTextBox_TextChanged(object sender, TextChangedEventArgs e) { ControlValidation.TextBoxValueChanged(GravitationalFieldStrengthTextBox, GravitationalFieldStrengthSlider); }
/// <summary> /// Couple sliders and text boxes when the text boxes are changed or have lost focus. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> /// private void SpringConstantTextBox_TextChanged(object sender, TextChangedEventArgs e) { ControlValidation.TextBoxValueChanged(SpringConstantTextBox, SpringConstantSlider); }
/// <summary> /// Couple sliders and text boxes when the text boxes are changed or have lost focus. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void LengthTextBox_TextChanged(object sender, TextChangedEventArgs e) { ControlValidation.TextBoxValueChanged(LengthTextBox, LengthSlider); }