I'm building an application which will be part data entry, part data viewing.
Normally I might create separate form classes, one for editing, the other for viewing. However, I'd like to explore using inheritance and interfaces to have a more or less generic "form" class, and from that derive the edit form and view form.
Could someone please point me to examples of this? Or provide a simple one here? Thanks in advance for any help.
Normally I might create separate form classes, one for editing, the other for viewing. However, I'd like to explore using inheritance and interfaces to have a more or less generic "form" class, and from that derive the edit form and view form.
Could someone please point me to examples of this? Or provide a simple one here? Thanks in advance for any help.