I'm using VS2010 and WinForms, and needs lots of forms for creating/updating data entities. How can I go about creating a base form from which to inherit (Cancel and OK buttons, entity parameters, etc)?
+1
A:
Inheritance in graphical interfaces (especially forms) is not the easiest thing to achieve. You would probably be better off using reusable user controls.
It has nothing to do with Entity Framework, but more with the kind of graphical library you're using (assuming Windows Forms, but could be WPF or even WebForms).
Xavier Poinas
2010-09-06 23:31:49
Apparently my mention of EF is distracting. You are right, it has nothing to do with EF. I'm using Windows Forms, have done almost nothing with UI for years, but remembered (vaguely) visual inheritance being touted years past, probably in VB.
Jay
2010-09-06 23:34:57
Distracting or not, *user controls* is a good suggestion.
Kirk Woll
2010-09-06 23:37:51