在设计时,我可以通过代码动态改变根activiti的变量吗?
像这样:</p>
(Designer.Context.Services.GetService<ModelService>().Root.GetCurrentValue() as RootActivity).Variables.Add(new Variable<bool>("a",false));
给我一些建议。谢谢
在设计时,我可以通过代码动态改变根activiti的变量吗?
像这样:</p>
(Designer.Context.Services.GetService<ModelService>().Root.GetCurrentValue() as RootActivity).Variables.Add(new Variable<bool>("a",false));
给我一些建议。谢谢