A workflow user interface can also be implemented by directly creating AutoCAD Map 3D workflow controls in the AutoCAD Map 3D task pane. This is done using an object based on the IWorkflowContainer interface (GeneralWorkflowContainerDesktop or GeneralWorkflowContainerWeb) created using the WorkflowContainerFactory static class. Workflows based on these container objects are compatible with the AutoCAD Map 3D Desktop Client and, unlike workflows using Windows user controls, the AutoCAD Map 3D Web Client as well. While the choice of controls and their placement is limited compared to Windows user controls, this also gives you access to AutoCAD Map 3D-specific controls. For more information about these controls, see .
In the entry point, make a container object that contains the IWorkflowContainer interface. This can be done by calling WorkflowContainerFactory.Create(), which returns an IWorkflowContainer interface to the new container object, either a GeneralWorkflowContainerDesktop or a GeneralWorkflowContainerWeb depending on whether the user is in the AutoCAD Map 3D Desktop Client or the AutoCAD Map 3D Web Client.
IWorkflowContainer container = WorkflowContainerFactory.Create( this.WorkflowSupport, ContainerButtons.OkCancel, Resources.ModuleName, false);