Example #1
0
 private void MassTextBox_TextChanged(object sender, TextChangedEventArgs e)
 {
     ControlValidation.TextBoxValueChanged(MassTextBox, BobMassSlider);
 }
Example #2
0
 private void DampingTextBox_TextChanged(object sender, TextChangedEventArgs e)
 {
     ControlValidation.TextBoxValueChanged(DampingTextBox, DampingSilder);
 }
 private void GravitationalFieldStrengthTextBox_TextChanged(object sender, TextChangedEventArgs e)
 {
     ControlValidation.TextBoxValueChanged(GravitationalFieldStrengthTextBox, GravitationalFieldStrengthSlider);
 }
Example #4
0
 /// <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);
 }