public MMPIFlowExecutor(Form parentForm, FxnBlock eStateNotifier, SingleExecuteBlock parentFlow) : base(NAME) { this.parentForm = parentForm; this.endStateNotifier = eStateNotifier; this.parentFlow = parentFlow; this.nextState = MMPIFlowState.DescribeItem; this.setExecBlock(this.executorFxn); this.executeNextState(); }
public PawnCustInformationFlowExecutor(Form parentForm, FxnBlock eStateNotifier, SingleExecuteBlock parentFlow) : base(NAME) { this.parentForm = parentForm; this.endStateNotifier = eStateNotifier; this.nextState = FindStateByTabClicked(); this.parentFlow = parentFlow; this.setExecBlock(this.executorFxn); this.executeNextState(); }
public void invokeWorkflow(string trigger, Form parentForm, FxnBlock endNavCall, SingleExecuteBlock parentFlow) { this.mainFlowExecutor.ExecBlock.Action.InputParameter = trigger; this.mainFlowExecutor.ParentForm = parentForm; this.mainFlowExecutor.ParentFlowExecutor = parentFlow; this.mainFlowExecutor.EndStateNotifier = endNavCall; this.mainFlowExecutor.execute(); }