/// <summary>
 /// creates a WorkflowFormPattern object 
 /// </summary>
 /// <param name="iswizardstep">true if the WorkflowFormPattern is the wizardstep else false.</param>
 public static WorkflowUserPattern CreateInstance(bool iswizardstep,EIBNode node)
 {
     WorkflowUserPattern workflowuserpattern = new WorkflowUserPattern(iswizardstep);
     if (iswizardstep)
     {
         workflowuserpattern.DockAreas = DockAreas.Document;
         workflowuserpattern.CloseButton = false;
     }
     workflowuserpattern.node = node;
     return workflowuserpattern;
 }
Ejemplo n.º 2
0
        /// <summary>
        /// creates a WorkflowFormPattern object
        /// </summary>
        /// <param name="iswizardstep">true if the WorkflowFormPattern is the wizardstep else false.</param>
        public static WorkflowUserPattern CreateInstance(bool iswizardstep, EIBNode node)
        {
            WorkflowUserPattern workflowuserpattern = new WorkflowUserPattern(iswizardstep);

            if (iswizardstep)
            {
                workflowuserpattern.DockAreas   = DockAreas.Document;
                workflowuserpattern.CloseButton = false;
            }
            workflowuserpattern.node = node;
            return(workflowuserpattern);
        }