public V_WorkflowFormBase() { Object[] objs = GetType().GetCustomAttributes(typeof(BPMAttribute), true); if (objs != null && objs.Length > 0) { BPMAttribute attribute = objs[0] as BPMAttribute; this.AppID = attribute.AppId; } }
public E_WorkflowFormBaseT() { CommonControlList = new List <UControlBase>(); Object[] objs = GetType().GetCustomAttributes(typeof(BPMAttribute), true); if (objs != null && objs.Length > 0) { BPMAttribute attribute = objs[0] as BPMAttribute; this.AppID = attribute.AppId; } }