private void uncheckJointBox(FubiUtils.SkeletonJoint joint) { var box = (CheckBox)FindName(UseHand ? FubiUtils.getHandJointName((FubiUtils.SkeletonHandJoint)joint) : FubiUtils.getJointName(joint)); if (box != null) { box.Background = Brushes.White; box.IsChecked = false; } }
protected string getJointName(FubiUtils.SkeletonJoint jointID) { return(UseHand ? FubiUtils.getHandJointName((FubiUtils.SkeletonHandJoint)jointID) : FubiUtils.getJointName(jointID)); }