How to achieve visual inheritance in C# and VS2010

1.1k views Asked by At

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

There are 1 answers

1
Xavier Poinas On BEST ANSWER

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).