Visual Studio 怎样初始化工具箱的呢?我看了一下工具箱(WF)控件的dll都放在GAC中,我想做一个WF流程设计器也动态加载控件该怎么做呢?
我的想法是吧要显示的空间通过配置文件配置如下:
<?xml version="1.0" encoding="utf-8" ?>
<BoxCategoryItems>
<BoxCategory name="活动">
<Subitem>WriteLine</Subitem>
<Subitem>Sequence</Subitem>
<Subitem>Assign</Subitem>
<Subitem>Delay</Subitem>
<Subitem>If</Subitem>
<Subitem>ForEach</Subitem>
<Subitem>Switch</Subitem>
<Subitem>While</Subitem>
<Subitem>DoWhile</Subitem>
<Subitem>Parallel</Subitem>
<Subitem>Pick</Subitem>
<Subitem>PickBranch</Subitem>
</BoxCategory>
<BoxCategory name="流程图">
<Subitem>FlowChart</Subitem>
<Subitem>FlowDecision</Subitem>
<Subitem>FlowSwitch</Subitem>
</BoxCategory>
</BoxCategoryItems>