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

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

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

            return(workflowformpattern);
        }