Control ctl = this.GetControl(fieldKey);
FieldEditor editCtl = ctl as FieldEditor;
if (editCtl != null)
{
editCtl.MustInput = mustInput;
}
使用视图类获得指定字段对应的控件,并设置控件的MustInput属性。
[K/3Cloud] 代码中设置某个字段必录
最新推荐文章于 2019-10-31 09:53:25 发布