Пример #1
0
 public void Redraw(SMFlowBase flowItem)
 {
     if (flowItem != null)
     {
         flowItem.DetermineAllPathTargets();
         SMCtlBase ctlBase = GetFlowCtl(flowItem);
         if (ctlBase != null)
         {
             ctlBase.MoveItem();
             ctlBase.OnChanged();
         }
     }
 }
Пример #2
0
        /// <summary>
        /// Entry into a flow item
        /// </summary>
        public void RefreshFlowItem(SMFlowBase currentFlowItem)
        {
            SMCtlBase ctlBase = GetFlowCtl(currentFlowItem);

            if (ctlBase != null)
            {
                ctlBase.OnChanged();
                if (currentFlowItem.IncomingPath != null)
                {
                    SMFlowBase pathFlowItem = currentFlowItem.IncomingPath.Owner;
                    ctlBase = GetFlowCtl(pathFlowItem);
                    if (ctlBase != null)
                    {
                        ctlBase.MoveIt(currentFlowItem.IncomingPath);
                    }
                }
            }
        }