///// <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; }
///// <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); }