Esempio n. 1
0
        ///// <summary>
        ///// creates a WorkflowFormPattern object 
        ///// </summary>
        ///// <param name="iswizardstep">true if the WorkflowFormPattern is the wizardstep else false.</param>
        public static WorkflowNodeStatus CreateInstance(bool iswizardstep, EIBNode node)
        {
            WorkflowNodeStatus workflownodestatus = new WorkflowNodeStatus(iswizardstep);
            if (iswizardstep)
            {
                workflownodestatus.DockAreas = DockAreas.Document;
                workflownodestatus.CloseButton = false;
            }
            workflownodestatus.Node = node;

            return workflownodestatus;
        }
Esempio n. 2
0
        ///// <summary>
        ///// creates a WorkflowFormPattern object
        ///// </summary>
        ///// <param name="iswizardstep">true if the WorkflowFormPattern is the wizardstep else false.</param>
        public static WorkflowNodeStatus CreateInstance(bool iswizardstep, EIBNode node)
        {
            WorkflowNodeStatus workflownodestatus = new WorkflowNodeStatus(iswizardstep);

            if (iswizardstep)
            {
                workflownodestatus.DockAreas   = DockAreas.Document;
                workflownodestatus.CloseButton = false;
            }
            workflownodestatus.Node = node;

            return(workflownodestatus);
        }