Jay
Jay

Reputation: 10460

How to achieve visual inheritance in C# and VS2010

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

Upvotes: 1

Views: 1134

Answers (1)

Xavier Poinas
Xavier Poinas

Reputation: 19733

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

Upvotes: 1

Related Questions