示例#1
0
        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);
        }
示例#2
0
        public void AddTransition(CIIPXpoState targetState)
        {
            var newObject = new CIIPXpoTransition(base.Session)
            {
                TargetState = targetState
            };

            this.Transitions.Add(newObject);
        }
示例#3
0
        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);
        }
示例#4
0
        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;
        }
示例#5
0
 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);
 }
示例#6
0
 public void AddTransition(CIIPXpoState targetState)
 {
     var newObject = new CIIPXpoTransition(base.Session)
     {
         TargetState = targetState
     };
     this.Transitions.Add(newObject);
 }