Hello All,
I am trying to develop an application to edit various 'entities' in a
database. Entities include User, Group, Department, Test, System,
approximately 20 - 30 class. Several classes will be composed of
others, for example User will contain department.
I am trying to design on the objects for use with other applications
as well, and not solely for using with a propertygrid. How can I
design objects that implement ICustomTypeDescriptor, TypeConverter and
UITypeEditor, and whatever other means needed to display the required
objects, as desired in the propertygrid editor, without bloating the
code. I don't want to create objects that are too cumbersome to use
when not involving a propertygrid.
I guess basically my question is: Any words of wisdom, tips, advice or
comments when designing objects for use with the propertygrid, but to
also be used in any other situation?
Do I create the basic type User, and then inherit to create
UserProperty?
I hope I have been clear,
John G