Reuse K2.net™ 2003 ViewFlow component
Typically in cases where developers extend and integrate reports with custom applications they want to also make use of ViewFlow to display a graphical view of the process.
The following steps illustrate the use of K2.net 2003 ViewFlow in a custom application (Windows or Web application): | |||
1. | Open VS.NET | ||
2. | Click "Tools | Add/Remove Toolbox Items..." | ||
3. | Click 'Browse ...' and browse to the following file: <drive>:Program FilesK2.net 2003K2WSWorkspaceK2MISViewProcessInstance.dll | ||
4. | You’ll see that the ViewControl is now selected and will be available in your Toolbox![]() | ||
5. | Click 'Ok' | ||
6. | You can now drop the ViewControl onto any form | ||
| |||
![]() | |||
The included sample project makes use of K2ROM to get an XML representation of the process by calling the ViewProcessInstance method. The result is then passed to the ViewControl which will generate a graphical representation of the process. This control is exactly the same control that is used for ViewFlow in the K2.net™ 2003 Workspace. | |||
![]() |