Пример #1
0
 /// <summary>
 /// creates a WorkflowFormPattern object 
 /// </summary>
 /// <param name="iswizardstep">true if the WorkflowFormPattern is the wizardstep else false.</param>
 public static WorkflowDataPattern CreateInstance(bool iswizardstep,EIBNode node)
 {
     WorkflowDataPattern workflowdatapattern = new WorkflowDataPattern(iswizardstep);
     if (iswizardstep)
     {
         workflowdatapattern.DockAreas = DockAreas.Document;
         workflowdatapattern.CloseButton = false;
     }
     workflowdatapattern.Node = node;
     return workflowdatapattern;
 }
Пример #2
0
        /// <summary>
        /// creates a WorkflowFormPattern object
        /// </summary>
        /// <param name="iswizardstep">true if the WorkflowFormPattern is the wizardstep else false.</param>
        public static WorkflowDataPattern CreateInstance(bool iswizardstep, EIBNode node)
        {
            WorkflowDataPattern workflowdatapattern = new WorkflowDataPattern(iswizardstep);

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