Esempio 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;
     }
 }
Esempio 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)));
        }
Esempio n. 3
0
 private static void setVisibility(RelatedItemNode relatedItemNode, bool visible)
 {
     relatedItemNode.Visible   = visible;
     relatedItemNode.Printable = visible;
 }