private void RegisterField(PropertyType type, Control label, Control editor, PropertyField.ShouldShow shouldShow, PropertyField.Populate populate, PropertyField.Save save)
        {
            PropertyField field = new PropertyField(type, new[] { label, editor }, shouldShow, populate, save);

            fields.Add(field);
        }
 private void RegisterField2(PropertyType type, Control label, Control editor, PropertyField.ShouldShow shouldShow, PropertyField.PopulateFull populate, PropertyField.Save save)
 {
     PropertyField field = new PropertyField(type, new[] { label, editor }, shouldShow, populate, save);
     fields.Add(field);
 }