摘要:
this.wd = new WorkflowDesigner();this.wd.Load(new Flowchart()); ReadOnlyState state = this.wd.Context.Items.GetValue<ReadOnlyState>();state.IsReadOnly = true;这样在设计器中就不允许修改工作流定义了参考:http://blogs.msdn.com/b/kushals/archive/2009/09/14/re-hosting-the-workflow-desinger-in-read-only-mode.aspx
阅读全文
posted @ 2011-04-23 19:05
毁灭公爵
阅读(278)
推荐(0)
编辑
摘要:
先看看System.Activities.Hosting.SymbolResolver的定义:public sealed class SymbolResolver : IDictionary<string, Object>, ICollection<KeyValuePair<string, Object>>, IEnumerable<KeyValuePair<string, Object>>, IEnumerable实现了IDictionary<string, Object> 接口,我们在工作流宿主中将需要在自定义Acti
阅读全文
posted @ 2011-04-23 11:10
毁灭公爵
阅读(291)
推荐(0)
编辑