this
.wd
=
new
WorkflowDesigner();
this .wd.Load( new Flowchart());
ReadOnlyState state = this .wd.Context.Items.GetValue < ReadOnlyState > ();
state.IsReadOnly = true ;
this .wd.Load( new Flowchart());
ReadOnlyState state = this .wd.Context.Items.GetValue < ReadOnlyState > ();
state.IsReadOnly = true ;
这样在设计器中就不允许修改工作流定义了