public DynamicFormActionTrigger(DynamicFormActionType t, string fn, object p, Control cnt, IDataBindingSource bs) { _type = t; _fieldName = fn; _control = new WeakReference(cnt); _param = p; _bs = new WeakReference(bs); }
public List <DynamicFormAction> this[DynamicFormActionType tag] { get { if (!_actions.ContainsKey(tag)) { _actions[tag] = new List <DynamicFormAction>(); } return(_actions[tag]); } }