void _control_SelectedSeriesChanged(object sender, SelectedSeriesChangedEventArgs e) { if (_currentTrialIndex == e.SelectedIndex) { return; } _currentTrialIndex = e.SelectedIndex; ResetAnimationControl(); _fullXromm.SetToPositionAndFixedBoneAndTrial(_animationControl.currentFrame, _fixedBoneIndex, _currentTrialIndex); }
void _control_SelectedSeriesChanged(object sender, SelectedSeriesChangedEventArgs e) { if (_currentPositionIndex == e.SelectedIndex) { return; } if (_positionGraph != null) { _positionGraph.setCurrentVisisblePosture(e.SelectedIndex); } MoveToPosition(e.SelectedIndex, _fixedBoneIndex); }
void _positionGraph_SelectedSeriesChanged(object sender, SelectedSeriesChangedEventArgs e) { //update the visible control, that will send out another event and make the actual position change :) _wristControl.selectedSeriesIndex = e.SelectedIndex; }