Ejemplo n.º 1
0
 private static void setSourceLinkVisibility(RelatedItemNode relatedItemNode, bool visible)
 {
     foreach (var inlink in relatedItemNode.SourceLinks)
     {
         inlink.GoObject.Visible   = visible;
         inlink.GoObject.Printable = visible;
     }
 }
Ejemplo n.º 2
0
        public PointF GetNextRelatedItemLocation(RelatedItemNode lowestRelatedItemNode)
        {
            float belowThis;

            if (lowestRelatedItemNode != null)
            {
                belowThis = Shape.Bottom > lowestRelatedItemNode.Bottom? Shape.Bottom : lowestRelatedItemNode.Bottom;
            }
            else
            {
                belowThis = Shape.Bottom;
            }
            return(new PointF(nearLeft(), belowThis + (RelatedItemNode.RelatedItemNodeSize.Height + 10)));
        }
Ejemplo n.º 3
0
 private static void setVisibility(RelatedItemNode relatedItemNode, bool visible)
 {
     relatedItemNode.Visible   = visible;
     relatedItemNode.Printable = visible;
 }