示例#1
0
 private void Disable(FlexiblePart flexiblePart, PXCMGesture.Alert alert)
 {
     if (alert.label == PXCMGesture.Alert.Label.LABEL_GEONODE_INACTIVE)
     {
         flexiblePart.IsVisible = false;
     }
 }
示例#2
0
 private void TrackOpeness(FlexiblePart part, PXCMGesture.GeoNode geoNode)
 {
     if (!part.IsVisible)
     {
         return;
     }
     if (geoNode.openness > 75)
     {
         part.IsOpen = true;
     }
     else if (geoNode.openness < 10)
     {
         part.IsOpen = false;
     }
 }
示例#3
0
 private void Disable(FlexiblePart flexiblePart, PXCMGesture.Alert alert) {
     if (alert.label == PXCMGesture.Alert.Label.LABEL_GEONODE_INACTIVE) {
         flexiblePart.IsVisible = false;
     }
 }
示例#4
0
 private void TrackOpeness(FlexiblePart part, PXCMGesture.GeoNode geoNode) {
     if (!part.IsVisible) {
         return;
     }
     if (geoNode.openness > 75) {
         part.IsOpen = true;
     }
     else if (geoNode.openness < 10) {
         part.IsOpen = false;
     }
 }