private void RotationTravel_GotFocus(object sender, RoutedEventArgs e) { PotentiometerKnob pot = Control as PotentiometerKnob; if (pot != null) { pot.Value = pot.MaxValue; } }
private void InitialRotation_GotFocus(object sender, RoutedEventArgs e) { PotentiometerKnob pot = Control as PotentiometerKnob; if (pot != null) { pot.Value = pot.MinValue; } }