private FieldBaseControl CreateFieldControlFromInfo(FieldBuilder info) { FieldBaseControl ctrl = (FieldBaseControl)mControlType.InvokeMember("new", System.Reflection.BindingFlags.CreateInstance, null, null, null); ctrl.FieldInfo = info; ctrl.FieldInfoReload(); ctrl.InfoChanged += new EventHandler(FieldControlChange); ctrl.OrderChanged += new EventHandler(FieldControlOrderChange); return ctrl; }
internal void AddFieldInternal(FieldBuilder field) { field.mFieldIndex = mFields.Add(field); field.mClassBuilder = this; }