IFlowAction IFlow.CreateAction(IFlowNode from, IFlowNode to) { var obj = new CIIPXpoTransition(Session); obj.SourceState = from as CIIPXpoState; obj.TargetState = to as CIIPXpoState; obj.Caption = obj.TargetState.Caption; return(obj); }
public void AddTransition(CIIPXpoState targetState) { var newObject = new CIIPXpoTransition(base.Session) { TargetState = targetState }; this.Transitions.Add(newObject); }
public void AddTransition(CIIPXpoState targetState, string caption, int index) { var newObject = new CIIPXpoTransition(base.Session) { TargetState = targetState, Caption = caption, Index = index }; this.Transitions.Add(newObject); }
IFlowAction IFlow.CreateAction(IFlowNode from, IFlowNode to) { var obj = new CIIPXpoTransition(Session); obj.SourceState = from as CIIPXpoState; obj.TargetState = to as CIIPXpoState; obj.Caption = obj.TargetState.Caption; return obj; }