예제 #1
0
        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;
        }
예제 #2
0
		internal void AddFieldInternal(FieldBuilder field)
		{
			field.mFieldIndex = mFields.Add(field);
			field.mClassBuilder = this;
		}